summaryrefslogtreecommitdiffstats
path: root/fs/coda
diff options
context:
space:
mode:
authorInaky Perez-Gonzalez <inaky@linux.intel.com>2009-01-08 20:08:25 +0100
committerDavid S. Miller <davem@davemloft.net>2009-01-08 20:08:25 +0100
commit9fd7a1d92b4462acaa460bb0f58b12ede6ffe6b9 (patch)
tree16b4dd7ddca6cca4cdcb4a5d76643284c627ccaf /fs/coda
parentwimax: testing for rfkill support should also test for CONFIG_RFKILL_MODULE (diff)
downloadlinux-9fd7a1d92b4462acaa460bb0f58b12ede6ffe6b9.tar.xz
linux-9fd7a1d92b4462acaa460bb0f58b12ede6ffe6b9.zip
i2400m/usb: wrap USB power saving in #ifdef CONFIG_PM
Current code was assuming PM was always enabled, which is not correct. Code which accesses members in the struct usb_device that are dependant on CONFIG_PM must be protected the same. Reported by Randy Dunlap from a build error in the linux-next tree on 07/01/2009. Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/coda')
0 files changed, 0 insertions, 0 deletions