1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-10-04 20:03:48 +03:00

We need to set the gpio line number

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9819 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2007-12-21 15:26:09 +00:00
parent a7c087dc66
commit 05ecf0e675

View 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);