linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] cpufreq / gx: Fix __init attribute locations
@ 2013-08-13 10:20 Hanjun Guo
  2013-08-13 10:20 ` [PATCH 2/3] cpufreq / pxa2xx: " Hanjun Guo
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Hanjun Guo @ 2013-08-13 10:20 UTC (permalink / raw)
  To: Viresh Kumar
  Cc: Rafael J. Wysocki, cpufreq, linux-pm, patches, linaro-kernel,
	linaro-acpi, Hanjun Guo

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

Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org>
---
 drivers/cpufreq/gx-suspmod.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/cpufreq/gx-suspmod.c b/drivers/cpufreq/gx-suspmod.c
index 3dfc99b..e30fd16 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;
 
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-08-13 13:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-13 10:20 [PATCH 1/3] cpufreq / gx: Fix __init attribute locations Hanjun Guo
2013-08-13 10:20 ` [PATCH 2/3] cpufreq / pxa2xx: " Hanjun Guo
2013-08-13 10:20 ` [PATCH 3/3] cpufreq / s3c24xx: " Hanjun Guo
2013-08-13 13:19 ` [PATCH 1/3] cpufreq / gx: " Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).