mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
Input: pxrc - move module device table closer to where it is used
There is no need to have the device table first in the file. Reviewed-by: Marcus Folkesson <marcus.folkesson@gmail.com> Tested-by: Marcus Folkesson <marcus.folkesson@gmail.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
parent
34dad2cf11
commit
ce55f75f03
1 changed files with 6 additions and 6 deletions
|
@ -19,12 +19,6 @@
|
|||
#define PXRC_VENDOR_ID (0x1781)
|
||||
#define PXRC_PRODUCT_ID (0x0898)
|
||||
|
||||
static const struct usb_device_id pxrc_table[] = {
|
||||
{ USB_DEVICE(PXRC_VENDOR_ID, PXRC_PRODUCT_ID) },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(usb, pxrc_table);
|
||||
|
||||
struct pxrc {
|
||||
struct input_dev *input;
|
||||
struct usb_interface *intf;
|
||||
|
@ -277,6 +271,12 @@ static int pxrc_reset_resume(struct usb_interface *intf)
|
|||
return pxrc_resume(intf);
|
||||
}
|
||||
|
||||
static const struct usb_device_id pxrc_table[] = {
|
||||
{ USB_DEVICE(PXRC_VENDOR_ID, PXRC_PRODUCT_ID) },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(usb, pxrc_table);
|
||||
|
||||
static struct usb_driver pxrc_driver = {
|
||||
.name = "pxrc",
|
||||
.probe = pxrc_probe,
|
||||
|
|
Loading…
Add table
Reference in a new issue