OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ee3f8e
)
cpufreq / gx: Fix gx_detect_chipset() __init attribute location
author
Hanjun Guo
<hanjun.guo@linaro.org>
Tue, 13 Aug 2013 10:20:08 +0000
(18:20 +0800)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Wed, 14 Aug 2013 20:24:23 +0000
(22:24 +0200)
__init belongs after the return type on functions, not before it.
Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/gx-suspmod.c
patch
|
blob
|
history
diff --git
a/drivers/cpufreq/gx-suspmod.c
b/drivers/cpufreq/gx-suspmod.c
index
ef5fee7
..
70442c7
100644
(file)
--- a/
drivers/cpufreq/gx-suspmod.c
+++ b/
drivers/cpufreq/gx-suspmod.c
@@
-183,7
+183,7
@@
static void gx_write_byte(int reg, int value)
* gx_detect_chipset:
*
**/
-static
__init struct pci_dev *
gx_detect_chipset(void)
+static
struct pci_dev * __init
gx_detect_chipset(void)
{
struct pci_dev *gx_pci = NULL;