]> err.no Git - linux-2.6/commitdiff
USB: build fix
authorIngo Molnar <mingo@elte.hu>
Fri, 16 May 2008 07:30:14 +0000 (09:30 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 20 May 2008 21:14:15 +0000 (14:14 -0700)
this config:

http://redhat.com/~mingo/misc/config-Wed_Apr_30_15_12_48_CEST_2008.bad

fails to build due to an #error. Turn that into a #warning instead
to not break randconfig builds unnecessarily.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/usb/cdc_subset.c

index 0ec7936cbe2139d3085d5388165f4b308c611b17..c66b9c324f5449918d152b28f144be002ecf6c56 100644 (file)
@@ -218,7 +218,7 @@ static const struct driver_info     blob_info = {
 /*-------------------------------------------------------------------------*/
 
 #ifndef        HAVE_HARDWARE
-#error You need to configure some hardware for this driver
+#warning You need to configure some hardware for this driver
 #endif
 
 /*