Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 93077
b: refs/heads/master
c: afc4bca
h: refs/heads/master
i:
  93075: 2fbda97
v: v3
  • Loading branch information
Michael Hennerich authored and David Woodhouse committed Apr 25, 2008
1 parent ff9de7f commit ab14a93
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2314488e81b6f8966d3ea607c4517a64bf58f283
refs/heads/master: afc4bca63941746f1d49394620d294074150e664
16 changes: 8 additions & 8 deletions trunk/drivers/mtd/nand/bf5xx_nand.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* linux/drivers/mtd/nand/bf5xx_nand.c
*
* Copyright 2006-2007 Analog Devices Inc.
* Copyright 2006-2008 Analog Devices Inc.
* http://blackfin.uclinux.org/
* Bryan Wu <bryan.wu@analog.com>
*
Expand Down Expand Up @@ -74,7 +74,7 @@ static int hardware_ecc = 1;
static int hardware_ecc;
#endif

static unsigned short bfin_nfc_pin_req[] =
static const unsigned short bfin_nfc_pin_req[] =
{P_NAND_CE,
P_NAND_RB,
P_NAND_D0,
Expand Down Expand Up @@ -581,12 +581,6 @@ static int bf5xx_nand_hw_init(struct bf5xx_nand_info *info)
bfin_write_NFC_IRQSTAT(val);
SSYNC();

if (peripheral_request_list(bfin_nfc_pin_req, DRV_NAME)) {
printk(KERN_ERR DRV_NAME
": Requesting Peripherals failed\n");
return -EFAULT;
}

/* DMA initialization */
if (bf5xx_nand_dma_init(info))
err = -ENXIO;
Expand Down Expand Up @@ -654,6 +648,12 @@ static int bf5xx_nand_probe(struct platform_device *pdev)

dev_dbg(&pdev->dev, "(%p)\n", pdev);

if (peripheral_request_list(bfin_nfc_pin_req, DRV_NAME)) {
printk(KERN_ERR DRV_NAME
": Requesting Peripherals failed\n");
return -EFAULT;
}

if (!plat) {
dev_err(&pdev->dev, "no platform specific information\n");
goto exit_error;
Expand Down

0 comments on commit ab14a93

Please sign in to comment.