aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorHanjun Guo <hanjun.guo@linaro.org>2013-08-13 18:20:08 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-08-14 22:24:23 +0200
commitaf97385ad4054fc2f2e1eddfe3d9f4a12e36e051 (patch)
tree2e4a171f4443d21689b7d6215c5b4e348ebb2107 /drivers
parent8ee3f8e038d4261f70940364415c0680f4014eb6 (diff)
downloadkernel_goldelico_gta04-af97385ad4054fc2f2e1eddfe3d9f4a12e36e051.zip
kernel_goldelico_gta04-af97385ad4054fc2f2e1eddfe3d9f4a12e36e051.tar.gz
kernel_goldelico_gta04-af97385ad4054fc2f2e1eddfe3d9f4a12e36e051.tar.bz2
cpufreq / gx: Fix gx_detect_chipset() __init attribute location
__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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/cpufreq/gx-suspmod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/gx-suspmod.c b/drivers/cpufreq/gx-suspmod.c
index ef5fee7..70442c7 100644
--- 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;