]> git.baikalelectronics.ru Git - kernel.git/commit
p54usb: Fixes compile error with CONFIG_PM=n
authorHauke Mehrtens <hauke@hauke-m.de>
Fri, 1 May 2009 11:12:36 +0000 (13:12 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 6 May 2009 19:15:01 +0000 (15:15 -0400)
commit323ead6ceff032c4d043fef473b8d81b016b1bc1
treef16b8bd1d8f4a77ef6041d086ab172f06bd05ad1
parent3c2c8daaa95ed9f44beb634da4500a29e5e6510f
p54usb: Fixes compile error with CONFIG_PM=n

/drivers/net/wireless/p54/p54usb.c: In function 'p54u_probe':
/drivers/net/wireless/p54/p54usb.c:923: error: 'struct usb_device' has no member named 'reset_resume'

In the struct usb_device the reset_resume attribute is only available
when CONFIG_PM is defined.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/p54/p54usb.c