#ifndef JEVENTS_H #define JEVENTS_H 1 int json_events(const char *fn, int (*func)(void *data, char *name, char *event, char *desc, char *long_desc), void *data); char *get_cpu_str(void); #ifndef min #define min(x, y) ({ \ typeof(x) _min1 = (x); \ typeof(y) _min2 = (y); \ (void) (&_min1 == &_min2); \ _min1 < _min2 ? _min1 : _min2; }) #endif #endif ch/linux/net-next.git' title='net-next.git Git repository'/>
summaryrefslogtreecommitdiff
path: root/drivers/usb/host/ohci-pci.c
diff options
context:
space:
mode:
authorSainath Grandhi <sainath.grandhi@intel.com>2017-02-10 16:03:50 -0800
committerDavid S. Miller <davem@davemloft.net>2017-02-11 20:59:41 -0500
commitd9f1f61c0801a73ff36d416a7ede54229b231e1d (patch)
tree2f9970b37ac99da534f7ca58b6b67ee880ead3cd /drivers/usb/host/ohci-pci.c
parent6fe3faf86757eb7f078ff06b23b206f17dc4fb36 (diff)
tap: Extending tap device create/destroy APIs
Extending tap APIs get/free_minor and create/destroy_cdev to handle more than one type of virtual interface. Signed-off-by: Sainath Grandhi <sainath.grandhi@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/usb/host/ohci-pci.c')