diff options
author | Haojian Zhuang <haojian.zhuang@marvell.com> | 2011-10-17 15:26:55 +0200 |
---|---|---|
committer | Haojian Zhuang <hzhuang1@hexinfolabs.org> | 2011-11-15 12:09:36 +0100 |
commit | 389eda15e0f41112d7c44213b3c4f8bd1c9398bc (patch) | |
tree | d35d07f3d5f1104d6f0ed3dc95a6ded7de72a270 /arch/arm/mach-pxa/pxa27x.c | |
parent | ARM: mmp: clear gpio edge detect (diff) | |
download | linux-389eda15e0f41112d7c44213b3c4f8bd1c9398bc.tar.xz linux-389eda15e0f41112d7c44213b3c4f8bd1c9398bc.zip |
ARM: pxa: add clk support in gpio driver
Support clk in gpio driver. There's no gpio clock in PXA25x and PXA27x.
So use dummy clk instead. And move the gpio edge initialization into
gpio driver for arch-mmp.
Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Diffstat (limited to 'arch/arm/mach-pxa/pxa27x.c')
-rw-r--r-- | arch/arm/mach-pxa/pxa27x.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/pxa27x.c b/arch/arm/mach-pxa/pxa27x.c index aed6cbcf3866..6c49e66057e3 100644 --- a/arch/arm/mach-pxa/pxa27x.c +++ b/arch/arm/mach-pxa/pxa27x.c @@ -230,6 +230,7 @@ static struct clk_lookup pxa27x_clkregs[] = { INIT_CLKREG(&clk_pxa27x_im, NULL, "IMCLK"), INIT_CLKREG(&clk_pxa27x_memc, NULL, "MEMCLK"), INIT_CLKREG(&clk_pxa27x_mem, "pxa2xx-pcmcia", NULL), + INIT_CLKREG(&clk_dummy, "pxa-gpio", NULL), }; #ifdef CONFIG_PM |