Commit af97385ad4054fc2f2e1eddfe3d9f4a12e36e051

Authored by Hanjun Guo
Committed by Rafael J. Wysocki
1 parent 8ee3f8e038

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/cpufreq/gx-suspmod.c
... ... @@ -183,7 +183,7 @@
183 183 * gx_detect_chipset:
184 184 *
185 185 **/
186   -static __init struct pci_dev *gx_detect_chipset(void)
  186 +static struct pci_dev * __init gx_detect_chipset(void)
187 187 {
188 188 struct pci_dev *gx_pci = NULL;
189 189