Re: [PATCH 3/5] w35und: remove dead code from wbusb_f.h

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Greg KH
Date: Monday, October 27, 2008 - 2:14 pm

On Mon, Oct 27, 2008 at 10:44:19PM +0200, Pekka J Enberg wrote:

I still get the following errors with this patch applied:

  CC [M]  drivers/staging/winbond/./linux/wb35reg.o
drivers/staging/winbond/./linux/wb35reg.c: In function ‘Wb35Reg_BurstWrite’:
drivers/staging/winbond/./linux/wb35reg.c:29: error: implicit declaration of function ‘wb_usb_alloc_urb’
drivers/staging/winbond/./linux/wb35reg.c:29: warning: assignment makes pointer from integer without a cast
drivers/staging/winbond/./linux/wb35reg.c: In function ‘Wb35Reg_Write’:
drivers/staging/winbond/./linux/wb35reg.c:178: warning: assignment makes pointer from integer without a cast
drivers/staging/winbond/./linux/wb35reg.c: In function ‘Wb35Reg_WriteWithCallbackValue’:
drivers/staging/winbond/./linux/wb35reg.c:238: warning: assignment makes pointer from integer without a cast
drivers/staging/winbond/./linux/wb35reg.c: In function ‘Wb35Reg_Read’:
drivers/staging/winbond/./linux/wb35reg.c:345: warning: assignment makes pointer from integer without a cast
drivers/staging/winbond/./linux/wb35reg.c: In function ‘Wb35Reg_EP0VM’:
drivers/staging/winbond/./linux/wb35reg.c:437: error: implicit declaration of function ‘wb_usb_submit_urb’
make[2]: *** [drivers/staging/winbond/./linux/wb35reg.o] Error 1

This seems to be because wb_usb_submit_urb() and alloc_urb() are in the
drivers/staging/winbond/linux/wbusb_f.h file when it is removed.

I'll go fix this up by adding another patch removing these entries.
Don't know how they got in here, odd.

thanks,

greg k-h
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 3/5] w35und: remove dead code from wbusb_f.h, Pekka J Enberg, (Wed Oct 22, 9:06 am)
Re: [PATCH 3/5] w35und: remove dead code from wbusb_f.h, Pavel Machek, (Thu Oct 23, 2:47 am)
Re: [PATCH 3/5] w35und: remove dead code from wbusb_f.h, Pekka J Enberg, (Mon Oct 27, 1:44 pm)
Re: [PATCH 3/5] w35und: remove dead code from wbusb_f.h, Greg KH, (Mon Oct 27, 2:14 pm)
Re: [PATCH 3/5] w35und: remove dead code from wbusb_f.h, Pekka J Enberg, (Mon Oct 27, 2:34 pm)