summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/include/mach/idp.h
diff options
context:
space:
mode:
authorHaojian Zhuang <haojian.zhuang@marvell.com>2011-10-17 20:37:52 +0800
committerHaojian Zhuang <hzhuang1@hexinfolabs.org>2011-11-15 19:08:27 +0800
commit157d2644cb0c1e71a18baaffca56d2b1d0ebf10f (patch)
treee33d224362ce8ac0706725f02ecd8b89c3645934 /arch/arm/mach-pxa/include/mach/idp.h
parent9bf448c66d4b4cb03813b39195d408701ecf1fab (diff)
downloadlinux-157d2644cb0c1e71a18baaffca56d2b1d0ebf10f.tar.gz
linux-157d2644cb0c1e71a18baaffca56d2b1d0ebf10f.tar.bz2
linux-157d2644cb0c1e71a18baaffca56d2b1d0ebf10f.zip
ARM: pxa: change gpio to platform device
Remove most gpio macros and change gpio driver to platform driver. Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Diffstat (limited to 'arch/arm/mach-pxa/include/mach/idp.h')
-rw-r--r--arch/arm/mach-pxa/include/mach/idp.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-pxa/include/mach/idp.h b/arch/arm/mach-pxa/include/mach/idp.h
index a7f912f5ea2f..22a96f87232b 100644
--- a/arch/arm/mach-pxa/include/mach/idp.h
+++ b/arch/arm/mach-pxa/include/mach/idp.h
@@ -131,8 +131,6 @@
#define PCC_VS2 (1 << 1)
#define PCC_VS1 (1 << 0)
-#define PCC_DETECT(x) (GPLR(7 + (x)) & GPIO_bit(7 + (x)))
-
/* A listing of interrupts used by external hardware devices */
#define TOUCH_PANEL_IRQ PXA_GPIO_TO_IRQ(5)