#ifndef _PRINTK_BRAILLE_H #define _PRINTK_BRAILLE_H #ifdef CONFIG_A11Y_BRAILLE_CONSOLE static inline void braille_set_options(struct console_cmdline *c, char *brl_options) { c->brl_options = brl_options; } char * _braille_console_setup(char **str, char **brl_options); int _braille_register_console(struct console *console, struct console_cmdline *c); int _braille_unregister_console(struct console *console); #else static inline void braille_set_options(struct console_cmdline *c, char *brl_options) { } static inline char * _braille_console_setup(char **str, char **brl_options) { return NULL; } static inline int _braille_register_console(struct console *console, struct console_cmdline *c) { return 0; } static inline int _braille_unregister_console(struct console *console) { return 0; } #endif #endif href='/cgit.cgi/'>index : net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/drivers/usb/host/xhci-trace.c
diff options
context:
space:
mode:
authorRicardo Ribalda <ricardo.ribalda@gmail.com>2017-01-27 15:59:30 +0100
committerWolfram Sang <wsa@the-dreams.de>2017-02-09 17:10:38 +0100
commitf43128c75202f29ee71aa83e6c320a911137c189 (patch)
tree85280695db72c8ae27f6c0c312a8573a4d756c80 /drivers/usb/host/xhci-trace.c
parentd5adbfcd5f7bcc6fa58a41c5c5ada0e5c826ce2c (diff)
i2c: piix4: Fix request_region size
Since '701dc207bf55 ("i2c: piix4: Avoid race conditions with IMC")' we are using the SMBSLVCNT register at offset 0x8. We need to request it. Fixes: 701dc207bf55 ("i2c: piix4: Avoid race conditions with IMC") Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Jean Delvare <jdelvare@suse.de> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/usb/host/xhci-trace.c')