summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/gpmi-nand/gpmi-nand.h
diff options
context:
space:
mode:
authorHuang Shijie <b32955@freescale.com>2013-11-14 14:25:49 +0800
committerBrian Norris <computersforpeace@gmail.com>2014-01-03 11:22:19 -0800
commit3cb2c1ed4abe19d2881f74aa60c1a5b44524b2d0 (patch)
treed369658e8ee80048062172ed695d44e21b72a161 /drivers/mtd/nand/gpmi-nand/gpmi-nand.h
parent87a9d69892836fc9cf738fa8960a0c29cf8e3f16 (diff)
downloadtalos-obmc-linux-3cb2c1ed4abe19d2881f74aa60c1a5b44524b2d0.tar.gz
talos-obmc-linux-3cb2c1ed4abe19d2881f74aa60c1a5b44524b2d0.zip
mtd: gpmi: use devm_request_irq
Use devm_request_irq to simplify the code. Also remove the unused fields of structure resources{}. Signed-off-by: Huang Shijie <b32955@freescale.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/nand/gpmi-nand/gpmi-nand.h')
-rw-r--r--drivers/mtd/nand/gpmi-nand/gpmi-nand.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mtd/nand/gpmi-nand/gpmi-nand.h b/drivers/mtd/nand/gpmi-nand/gpmi-nand.h
index a7685e3a8748..4c801fa18725 100644
--- a/drivers/mtd/nand/gpmi-nand/gpmi-nand.h
+++ b/drivers/mtd/nand/gpmi-nand/gpmi-nand.h
@@ -26,8 +26,6 @@
struct resources {
void __iomem *gpmi_regs;
void __iomem *bch_regs;
- unsigned int bch_low_interrupt;
- unsigned int bch_high_interrupt;
unsigned int dma_low_channel;
unsigned int dma_high_channel;
struct clk *clock[GPMI_CLK_MAX];
OpenPOWER on IntegriCloud