lkml.org 
[lkml]   [2012]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRE: [PATCH -next v2] usb: add usb.h stubs for CONFIG_USB not enabled
On Saturday, May 19, 2012 9:31 AM, Randy Dunlap wrote:
>
> Add stubs for some usb core functions when CONFIG_USB
> is not enabled. This fixes these comedi build errors:
>
> ERROR: "usb_deregister" [drivers/staging/comedi/comedi.ko] undefined!
> ERROR: "usb_register_driver" [drivers/staging/comedi/comedi.ko] undefined!
>
> Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>

Sorry about causing the trouble with my changes to the comedi staging driver.

I, wrongly, assumed that the usb register/deregister functions are already
stubbed like the pci functions. I'll make sure the check in the future.

Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>



\
 
 \ /
  Last update: 2012-05-21 19:41    [W:0.098 / U:0.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site