pxa3xx_nand: remove hardcode irq number
authorHaojian Zhuang <haojian.zhuang@marvell.com>
Thu, 10 Sep 2009 06:22:55 +0000 (14:22 +0800)
committerEric Miao <eric.y.miao@gmail.com>
Tue, 1 Dec 2009 01:02:39 +0000 (09:02 +0800)
commitdbf5986aed62620d3dde54e1b63889821c857675
tree8a9499925b366d2731b772885a1c26b3a7622e62
parent8638fac849c181176324f26b4b82e3b96f378dde
pxa3xx_nand: remove hardcode irq number

Nand driver uses IRQ_NAND as hardcode irq number. In ARCH_MMP, the irq
number is different. So get irq resource from platform device structure
and use it in initialization and deinitialization code.

Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
drivers/mtd/nand/pxa3xx_nand.c