mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-01-24 23:53:12 +00:00
We need to set the gpio line number
SVN-Revision: 9819
This commit is contained in:
parent
b998d4fa51
commit
620d050dfa
@ -236,6 +236,7 @@ static __devinit int rb153_pata_driver_probe(struct platform_device *pdev)
|
|||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
|
|
||||||
ah->private_data = info;
|
ah->private_data = info;
|
||||||
|
info->gpio_line = gpio;
|
||||||
|
|
||||||
info->iobase = devm_ioremap_nocache(&pdev->dev, res->start,
|
info->iobase = devm_ioremap_nocache(&pdev->dev, res->start,
|
||||||
res->end - res->start + 1);
|
res->end - res->start + 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user