Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
hid.c File Reference
#include <linux/kernel.h>
#include <linux/platform_device.h>
#include <linux/list.h>
#include <linux/module.h>
#include <linux/usb/composite.h>
#include "gadget_chips.h"
#include "f_hid.c"

Go to the source code of this file.

Data Structures

struct  hidg_func_node
 

Macros

#define DRIVER_DESC   "HID Gadget"
 
#define DRIVER_VERSION   "2010/03/16"
 
#define HIDG_VENDOR_NUM   0x0525 /* XXX NetChip */
 
#define HIDG_PRODUCT_NUM   0xa4ac /* Linux-USB HID gadget */
 

Functions

 USB_GADGET_COMPOSITE_OPTIONS ()
 
 MODULE_DESCRIPTION (DRIVER_DESC)
 
 MODULE_AUTHOR ("Fabien Chouteau, Peter Korsgaard")
 
 MODULE_LICENSE ("GPL")
 
 module_init (hidg_init)
 
 module_exit (hidg_cleanup)
 

Macro Definition Documentation

#define DRIVER_DESC   "HID Gadget"

Definition at line 22 of file hid.c.

#define DRIVER_VERSION   "2010/03/16"

Definition at line 23 of file hid.c.

#define HIDG_PRODUCT_NUM   0xa4ac /* Linux-USB HID gadget */

Definition at line 28 of file hid.c.

#define HIDG_VENDOR_NUM   0x0525 /* XXX NetChip */

Definition at line 27 of file hid.c.

Function Documentation

MODULE_AUTHOR ( "Fabien  Chouteau,
Peter Korsgaard"   
)
MODULE_DESCRIPTION ( DRIVER_DESC  )
module_exit ( hidg_cleanup  )
module_init ( hidg_init  )
MODULE_LICENSE ( "GPL"  )
USB_GADGET_COMPOSITE_OPTIONS ( )