staging: solo6010 depends on I2C
authorRandy Dunlap <randy.dunlap@oracle.com>
Thu, 9 Dec 2010 17:38:34 +0000 (09:38 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 10 Dec 2010 00:29:49 +0000 (16:29 -0800)
This driver uses i2c interfaces, so it should depend on I2C
(unless someone wants to break it into pieces or make it more
config-dependent).

drivers/staging/solo6x10/solo6010-i2c.c:47: error: implicit declaration of function 'i2c_transfer'
drivers/staging/solo6x10/solo6010-i2c.c:299: error: implicit declaration of function 'i2c_add_adapter'
drivers/staging/solo6x10/solo6010-i2c.c:310: error: implicit declaration of function 'i2c_del_adapter'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Ben Collins <bcollins@bluecherry.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/solo6x10/Kconfig

index de60ac841b7e234652a4c4f1fd01074d199bae53..2cf77c9408602964a2c5dfe527bc7dc0d316da4f 100644 (file)
@@ -1,6 +1,6 @@
 config SOLO6X10
        tristate "Softlogic 6x10 MPEG codec cards"
-       depends on PCI && VIDEO_DEV && SND
+       depends on PCI && VIDEO_DEV && SND && I2C
        select VIDEOBUF_DMA_SG
        ---help---
          This driver supports the Softlogic based MPEG-4 and h.264 codec