We need to set the gpio line number
authorFlorian Fainelli <florian@openwrt.org>
Fri, 21 Dec 2007 15:26:09 +0000 (15:26 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Fri, 21 Dec 2007 15:26:09 +0000 (15:26 +0000)
SVN-Revision: 9819

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

index c6da5c333219b54d000a5efede37c2e67184cd33..4d4596a99adfb1ba057748af618fc980213cb265 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);