diff options
author | Chris Rorvick <chris@rorvick.com> | 2014-11-04 20:18:54 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-11-07 12:02:38 -0500 |
commit | 35a27eab6f94e15fa30f7662af00fbec50526f4a (patch) | |
tree | 09bb92f2302b6178687a6b67b1c92cc8e060dcbb /include/linux/usb/ehci-dbgp.h | |
parent | 9183b3641f50c3cc70c24073117bb9d53b858fb0 (diff) |
usb: Remove __init from early_dbgp_init() prototype
Specifying these attributes in both the prototype and the function
definition is unnecessary and could cause confusion or bugs if they are
inconsistent. As such, __init should only be specified at the function
definition.
Keith Owens suggested this as a janitorial task on LKML several years
ago:
https://lkml.org/lkml/2006/1/14/305
Signed-off-by: Chris Rorvick <chris@rorvick.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/usb/ehci-dbgp.h')
-rw-r--r-- | include/linux/usb/ehci-dbgp.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/usb/ehci-dbgp.h b/include/linux/usb/ehci-dbgp.h index 796c1cd6f26a..7344d9e591cc 100644 --- a/include/linux/usb/ehci-dbgp.h +++ b/include/linux/usb/ehci-dbgp.h | |||
@@ -43,8 +43,7 @@ struct ehci_dbg_port { | |||
43 | }; | 43 | }; |
44 | 44 | ||
45 | #ifdef CONFIG_EARLY_PRINTK_DBGP | 45 | #ifdef CONFIG_EARLY_PRINTK_DBGP |
46 | #include <linux/init.h> | 46 | extern int early_dbgp_init(char *s); |
47 | extern int __init early_dbgp_init(char *s); | ||
48 | extern struct console early_dbgp_console; | 47 | extern struct console early_dbgp_console; |
49 | #endif /* CONFIG_EARLY_PRINTK_DBGP */ | 48 | #endif /* CONFIG_EARLY_PRINTK_DBGP */ |
50 | 49 | ||