summaryrefslogtreecommitdiffstats
path: root/drivers/usb/printer.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/printer.c')
-rw-r--r--drivers/usb/printer.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/usb/printer.c b/drivers/usb/printer.c
index 58061ec90..e734bd2d7 100644
--- a/drivers/usb/printer.c
+++ b/drivers/usb/printer.c
@@ -613,10 +613,10 @@ static struct file_operations usblp_fops = {
};
static struct usb_device_id usblp_ids [] = {
- { bInterfaceClass: 7, bInterfaceSubClass: 1, bInterfaceProtocol: 1},
- { bInterfaceClass: 7, bInterfaceSubClass: 1, bInterfaceProtocol: 2},
- { bInterfaceClass: 7, bInterfaceSubClass: 1, bInterfaceProtocol: 3},
- { } /* Terminating entry */
+ { USB_INTERFACE_INFO(7, 1, 1) },
+ { USB_INTERFACE_INFO(7, 1, 2) },
+ { USB_INTERFACE_INFO(7, 1, 3) },
+ { } /* Terminating entry */
};
MODULE_DEVICE_TABLE (usb, usblp_ids);