lkml.org 
[lkml]   [2014]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 1/2] drivers: mcb: Fix build error discovered by 0-day bot
Date
From: Johannes Thumshirn <morbidrsa@gmail.com>

Make mcb depend on HAS_IOMEM and mcb-pci depend on PCI. This fixes build errors
discovered by the 0-day kernel build testing system.

Signed-off-by: Johannes Thumshirn <johannes.thumshirn@men.de>
---
drivers/mcb/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/mcb/Kconfig b/drivers/mcb/Kconfig
index b8f5d46..87d5a46 100644
--- a/drivers/mcb/Kconfig
+++ b/drivers/mcb/Kconfig
@@ -4,7 +4,7 @@

menuconfig MCB
tristate "MCB support"
- default m
+ depends on HAS_IOMEM
help

The MCB (MEN Chameleon Bus) is a Bus specific to MEN Mikroelektronik
@@ -18,6 +18,7 @@ if MCB
config MCB_PCI
tristate "PCI based MCB carrier"
default m
+ depends on PCI
help

This is a MCB carrier on a PCI device. Both PCI attached on-board
--
1.8.5.3


\
 
 \ /
  Last update: 2014-03-03 22:21    [W:0.115 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site