diff options
author | Andrew Morton <akpm@osdl.org> | 2006-09-25 20:00:52 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-09-27 15:45:07 -0400 |
commit | 7f38aa0f04259d37f26e1e906607f1ebb39c0c5c (patch) | |
tree | c4f8c46d467b1a461f3e87b23667a315a72da34e /drivers/usb | |
parent | 5dda171202f94127e49c12daf780cdae1b4e668b (diff) |
[PATCH] USB Storage: fix Rio Karma eject support build error
In file included from drivers/usb/storage/usb.c:180:
drivers/usb/storage/unusual_devs.h:221: error: 'US_PR_KARMA' undeclared here (not in a function)
drivers/usb/storage/unusual_devs.h:221: error: 'rio_karma_init' undeclared here (not in a function)
Cc: Keith Bennett <keith@mcs.st-and.ac.uk>
Acked-by: Bob Copeland <me@bobcopeland.com>
Cc: Matthew Dharm <mdharm-usb@one-eyed-alien.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/storage/unusual_devs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/storage/unusual_devs.h b/drivers/usb/storage/unusual_devs.h index 1f11c9d44eaa..40bf159f7d54 100644 --- a/drivers/usb/storage/unusual_devs.h +++ b/drivers/usb/storage/unusual_devs.h | |||
@@ -218,10 +218,12 @@ UNUSUAL_DEV( 0x0457, 0x0151, 0x0100, 0x0100, | |||
218 | US_SC_DEVICE, US_PR_DEVICE, NULL, | 218 | US_SC_DEVICE, US_PR_DEVICE, NULL, |
219 | US_FL_NOT_LOCKABLE ), | 219 | US_FL_NOT_LOCKABLE ), |
220 | 220 | ||
221 | #ifdef CONFIG_USB_STORAGE_KARMA | ||
221 | UNUSUAL_DEV( 0x045a, 0x5210, 0x0101, 0x0101, | 222 | UNUSUAL_DEV( 0x045a, 0x5210, 0x0101, 0x0101, |
222 | "Rio", | 223 | "Rio", |
223 | "Rio Karma", | 224 | "Rio Karma", |
224 | US_SC_SCSI, US_PR_KARMA, rio_karma_init, 0), | 225 | US_SC_SCSI, US_PR_KARMA, rio_karma_init, 0), |
226 | #endif | ||
225 | 227 | ||
226 | /* Patch submitted by Philipp Friedrich <philipp@void.at> */ | 228 | /* Patch submitted by Philipp Friedrich <philipp@void.at> */ |
227 | UNUSUAL_DEV( 0x0482, 0x0100, 0x0100, 0x0100, | 229 | UNUSUAL_DEV( 0x0482, 0x0100, 0x0100, 0x0100, |