summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-pxa.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2013-05-03 11:39:36 +0200
committerTakashi Iwai <tiwai@suse.de>2013-05-03 11:39:36 +0200
commitf91eeeb59583087722dc0699ac8aaf4b6af4a77f (patch)
tree7ea886877cfdfbc8cc6f50aa1f379de62a9092f1 /drivers/gpio/gpio-pxa.c
parent4ca231b2e6ed171107c5b21f9e92d1965fd6fd9e (diff)
parent9631c02e240236ec206394fb52380647d0e70e4f (diff)
downloadlinux-3.10-f91eeeb59583087722dc0699ac8aaf4b6af4a77f.tar.gz
linux-3.10-f91eeeb59583087722dc0699ac8aaf4b6af4a77f.tar.bz2
linux-3.10-f91eeeb59583087722dc0699ac8aaf4b6af4a77f.zip
Merge tag 'asoc-v3.10-4' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-next
ASoC: Updates for v3.10 A few more bug fixes, the DAPM clock fix is actually a driver specific one since currently there's only one user of the clock support due to the problems relying on the clock API.
Diffstat (limited to 'drivers/gpio/gpio-pxa.c')
-rw-r--r--drivers/gpio/gpio-pxa.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-pxa.c b/drivers/gpio/gpio-pxa.c
index 9cc108d2b77..8325f580c0f 100644
--- a/drivers/gpio/gpio-pxa.c
+++ b/drivers/gpio/gpio-pxa.c
@@ -642,7 +642,12 @@ static struct platform_driver pxa_gpio_driver = {
.of_match_table = of_match_ptr(pxa_gpio_dt_ids),
},
};
-module_platform_driver(pxa_gpio_driver);
+
+static int __init pxa_gpio_init(void)
+{
+ return platform_driver_register(&pxa_gpio_driver);
+}
+postcore_initcall(pxa_gpio_init);
#ifdef CONFIG_PM
static int pxa_gpio_suspend(void)