From: Florian Fainelli Date: Fri, 21 Dec 2007 15:26:09 +0000 (+0000) Subject: We need to set the gpio line number X-Git-Tag: reboot~27457 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=620d050dfa52a44b5672771ee36d5f826ae22753;p=oweals%2Fopenwrt.git We need to set the gpio line number SVN-Revision: 9819 --- 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);