Commit af97385a authored by Hanjun Guo's avatar Hanjun Guo Committed by Rafael J. Wysocki
Browse files

cpufreq / gx: Fix gx_detect_chipset() __init attribute location



__init belongs after the return type on functions, not before it.

Signed-off-by: default avatarHanjun Guo <hanjun.guo@linaro.org>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 8ee3f8e0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;