diff options
Diffstat (limited to 'drivers/mtd/nand/gpmi-nand/gpmi-nand.c')
-rw-r--r-- | drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c b/drivers/mtd/nand/gpmi-nand/gpmi-nand.c index 5cd141f7bfc2..e9b1c47e3cf9 100644 --- a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c +++ b/drivers/mtd/nand/gpmi-nand/gpmi-nand.c | |||
@@ -319,8 +319,8 @@ int start_dma_with_bch_irq(struct gpmi_nand_data *this, | |||
319 | return 0; | 319 | return 0; |
320 | } | 320 | } |
321 | 321 | ||
322 | static int | 322 | static int acquire_register_block(struct gpmi_nand_data *this, |
323 | acquire_register_block(struct gpmi_nand_data *this, const char *res_name) | 323 | const char *res_name) |
324 | { | 324 | { |
325 | struct platform_device *pdev = this->pdev; | 325 | struct platform_device *pdev = this->pdev; |
326 | struct resources *res = &this->resources; | 326 | struct resources *res = &this->resources; |
@@ -360,8 +360,7 @@ static void release_register_block(struct gpmi_nand_data *this) | |||
360 | res->bch_regs = NULL; | 360 | res->bch_regs = NULL; |
361 | } | 361 | } |
362 | 362 | ||
363 | static int | 363 | static int acquire_bch_irq(struct gpmi_nand_data *this, irq_handler_t irq_h) |
364 | acquire_bch_irq(struct gpmi_nand_data *this, irq_handler_t irq_h) | ||
365 | { | 364 | { |
366 | struct platform_device *pdev = this->pdev; | 365 | struct platform_device *pdev = this->pdev; |
367 | struct resources *res = &this->resources; | 366 | struct resources *res = &this->resources; |