summaryrefslogtreecommitdiff
path: root/target/linux/adm5120
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-12-21 15:26:09 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-12-21 15:26:09 +0000
commit05ecf0e675e668e167787d930b9f2362315bcc96 (patch)
tree4b6fdbf286fec972babdcaf5fc03b6a153bb8ac8 /target/linux/adm5120
parenta7c087dc66fe93974b9380327e472d1150976e15 (diff)
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/linux/adm5120')
-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);