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/pxa25x.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/pxa25x.c')
-rw-r--r-- | arch/arm/mach-pxa/pxa25x.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/pxa25x.c b/arch/arm/mach-pxa/pxa25x.c index 91e4f6c03766..8a775f631c55 100644 --- a/arch/arm/mach-pxa/pxa25x.c +++ b/arch/arm/mach-pxa/pxa25x.c @@ -209,6 +209,7 @@ static struct clk_lookup pxa25x_clkregs[] = { INIT_CLKREG(&clk_pxa25x_gpio11, NULL, "GPIO11_CLK"), INIT_CLKREG(&clk_pxa25x_gpio12, NULL, "GPIO12_CLK"), INIT_CLKREG(&clk_pxa25x_mem, "pxa2xx-pcmcia", NULL), + INIT_CLKREG(&clk_dummy, "pxa-gpio", NULL), }; static struct clk_lookup pxa25x_hwuart_clkreg = |