We need to set the gpio line number
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 21 Dec 2007 15:26:09 +0000 (15:26 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 21 Dec 2007 15:26:09 +0000 (15:26 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9819 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/adm5120/files/drivers/ata/pata_rb153_cf.c

index c6da5c3..4d4596a 100644 (file)
@@ -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);