Browse Source

We need to set the gpio line number

SVN-Revision: 9819
Florian Fainelli 18 years ago
parent
commit
620d050dfa
1 changed files with 1 additions and 0 deletions
  1. 1 0
      target/linux/adm5120/files/drivers/ata/pata_rb153_cf.c

+ 1 - 0
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);