提交 4aa7ed02 编写于 作者: A Axel Lin 提交者: Samuel Ortiz

NFC: port100: Convert to use USB_DEVICE macro

Signed-off-by: NAxel Lin <axel.lin@ingics.com>
Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
上级 9bec44bf
...@@ -1374,10 +1374,7 @@ static struct nfc_digital_ops port100_digital_ops = { ...@@ -1374,10 +1374,7 @@ static struct nfc_digital_ops port100_digital_ops = {
}; };
static const struct usb_device_id port100_table[] = { static const struct usb_device_id port100_table[] = {
{ .match_flags = USB_DEVICE_ID_MATCH_DEVICE, { USB_DEVICE(SONY_VENDOR_ID, RCS380_PRODUCT_ID), },
.idVendor = SONY_VENDOR_ID,
.idProduct = RCS380_PRODUCT_ID,
},
{ } { }
}; };
MODULE_DEVICE_TABLE(usb, port100_table); MODULE_DEVICE_TABLE(usb, port100_table);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册