aboutsummaryrefslogtreecommitdiffstats
path: root/target
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
commitd09ad3fcdf0a6c9c6c67be7bca80b2023505f251 (patch)
tree4b6fdbf286fec972babdcaf5fc03b6a153bb8ac8 /target
parent726b82e53124812a26dc9b3a4afd64f676fbf0ff (diff)
downloadupstream-d09ad3fcdf0a6c9c6c67be7bca80b2023505f251.tar.gz
upstream-d09ad3fcdf0a6c9c6c67be7bca80b2023505f251.tar.bz2
upstream-d09ad3fcdf0a6c9c6c67be7bca80b2023505f251.zip
We need to set the gpio line number
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9819 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-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);