aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/adm5120/files
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-12-21 15:26:09 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-12-21 15:26:09 +0000
commit620d050dfa52a44b5672771ee36d5f826ae22753 (patch)
tree5ad99534861b17836a6d25663686571fe47ebb4f /target/linux/adm5120/files
parentb998d4fa51609b2b1e3a91deb118918c301dd7e8 (diff)
downloadupstream-620d050dfa52a44b5672771ee36d5f826ae22753.tar.gz
upstream-620d050dfa52a44b5672771ee36d5f826ae22753.tar.bz2
upstream-620d050dfa52a44b5672771ee36d5f826ae22753.zip
We need to set the gpio line number
SVN-Revision: 9819
Diffstat (limited to 'target/linux/adm5120/files')
-rw-r--r--target/linux/adm5120/files/drivers/ata/pata_rb153_cf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/adm5120/files/drivers/ata/pata_rb153_cf.c b/target/linux/adm5120/files/drivers/ata/pata_rb153_cf.c
index c6da5c3332..4d4596a99a 100644
--- a/target/linux/adm5120/files/drivers/ata/pata_rb153_cf.c
+++ b/target/linux/adm5120/files/drivers/ata/pata_rb153_cf.c
@@ -236,6 +236,7 @@ static __devinit int rb153_pata_driver_probe(struct platform_device *pdev)
return -ENOMEM;
ah->private_data = info;
+ info->gpio_line = gpio;
info->iobase = devm_ioremap_nocache(&pdev->dev, res->start,
res->end - res->start + 1);