Greg Kroah-Hartman | ba4468d4 | 2014-08-30 17:06:54 -0700 | [diff] [blame^] | 1 | /* |
| 2 | * Greybus "AP" USB driver |
| 3 | * |
| 4 | * Copyright 2014 Google Inc. |
| 5 | * |
| 6 | * Released under the GPLv2 only. |
| 7 | */ |
| 8 | #include <linux/kernel.h> |
| 9 | #include <linux/module.h> |
| 10 | #include <linux/slab.h> |
| 11 | #include <linux/errno.h> |
| 12 | #include <linux/usb.h> |
| 13 | |
| 14 | |
| 15 | static const struct usb_device_id id_table[] = { |
| 16 | { USB_DEVICE(0x0000, 0x0000) }, // FIXME |
| 17 | { }, |
| 18 | }; |
| 19 | MODULE_DEVICE_TABLE(usb, id_table); |
| 20 | |
| 21 | |
| 22 | static int ap_probe(struct usb_interface *interface, |
| 23 | const struct usb_device_id *id) |
| 24 | { |
| 25 | |
| 26 | return 0; |
| 27 | } |
| 28 | |
| 29 | static void ap_disconnect(struct usb_interface *interface) |
| 30 | { |
| 31 | |
| 32 | |
| 33 | } |
| 34 | |
| 35 | static struct usb_driver es1_ap_driver = { |
| 36 | .name = "es1_ap_driver", |
| 37 | .probe = ap_probe, |
| 38 | .disconnect = ap_disconnect, |
| 39 | .id_table = id_table, |
| 40 | }; |
| 41 | |
| 42 | module_usb_driver(es1_ap_driver); |
| 43 | |
| 44 | MODULE_LICENSE("GPL"); |
| 45 | MODULE_AUTHOR("Greg Kroah-Hartman <gregkh@linuxfoundation.org>"); |