#ifndef US122L_H #define US122L_H struct us122l { struct usb_device *dev; int card_index; int stride; struct usb_stream_kernel sk; struct mutex mutex; struct file *first; unsigned second_periods_polled; struct file *master; struct file *slave; struct list_head midi_list; atomic_t mmap_count; }; #define US122L(c) ((struct us122l *)(c)->private_data) #define NAME_ALLCAPS "US-122L" #define USB_ID_US122L 0x800E #define USB_ID_US144 0x800F #define USB_ID_US122MKII 0x8021 #define USB_ID_US144MKII 0x8020 #endif z.ch/cgit.cgi/linux/net-next.git' title='net-next.git Git repository'/>
summaryrefslogtreecommitdiff
path: root/include/dt-bindings/thermal/tegra124-soctherm.h
value='1'>1
AgeCommit message (Expand)AuthorFilesLines
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2017-01-26 17:15:44 +0100
committerJohannes Berg <johannes.berg@intel.com>2017-01-26 18:03:09 +0100
commit228c8c6b1f4376788e9d5ab00d50b10228eb40d3 (patch)
treedfd7010fa9480284fe72bb2c4ab50a5225792a10 /include/dt-bindings/pinctrl/stm32f429-pinfunc.h
parent731977e97b3697454a862fec656c2561eabc0b87 (diff)
wireless: define cipher/AKM suites using a macro
The spec writes cipher/AKM suites as something like 00-0F-AC:9, but the part after the colon isn't hex, it's decimal, so that we've already had a few mistakes (in other code, or unmerged patches) to e.g. write 0x000FAC10 instead of 0x000FAC0A. Use a macro to avoid that problem. Reviewed-by: Luca Coelho <luciano.coelho@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/dt-bindings/pinctrl/stm32f429-pinfunc.h')