ARM: pxa: recognize gpio number and type
authorHaojian Zhuang <haojian.zhuang@marvell.com>
Fri, 14 Oct 2011 08:44:07 +0000 (16:44 +0800)
committerHaojian Zhuang <haojian.zhuang@marvell.com>
Mon, 14 Nov 2011 13:07:59 +0000 (21:07 +0800)
commit478e223cc39ee98f9f9f0c87cb971a2fe0ce8d12
tree1c0dde3d14ddb0997f5cbaf387d46ae879d94887
parent4929f5a8a99f64378659c5658621e45c90c2aaa9
ARM: pxa: recognize gpio number and type

Use cpuid to recognize the gpio number and type. CPU_PXA26x is the
special case since we can't identify it by cpuid.

Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
drivers/gpio/gpio-pxa.c