We need to set the gpio line number

SVN-Revision: 9819
lede-17.01
Florian Fainelli 2007-12-21 15:26:09 +00:00
parent b998d4fa51
commit 620d050dfa
1 changed files with 1 additions and 0 deletions

View File

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