Files
linux/drivers/net
Arnd Bergmann f3bb23764f USB: cdc_subset: only build when one driver is enabled
This avoids a harmless randconfig warning I get when USB_NET_CDC_SUBSET
is enabled, but all of the more specific drivers are not:

drivers/net/usb/cdc_subset.c:241:2: #warning You need to configure some hardware for this driver

The current behavior is clearly intentional, giving a warning when
a user picks a configuration that won't do anything good. The only
reason for even addressing this is that I'm getting close to
eliminating all 'randconfig' warnings on ARM, and this came up
a couple of times.

My workaround is to not even build the module when none of the
configurations are enable.

Alternatively we could simply remove the #warning (nothing wrong
for compile-testing), turn it into a runtime warning, or
change the Kconfig options into a menu to hide CONFIG_USB_NET_CDC_SUBSET.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-02-18 15:59:45 -05:00
..
2016-02-18 14:58:47 -05:00
2016-01-25 10:51:52 -08:00
2015-11-15 17:09:23 -05:00
2016-02-13 06:10:21 -05:00
2015-10-21 19:36:10 -07:00
2016-02-18 14:43:47 -05:00
2015-10-13 04:55:07 -07:00
2015-12-17 15:25:57 -05:00
2016-02-18 15:01:14 -05:00