Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 65282
b: refs/heads/master
c: 991bf52
h: refs/heads/master
v: v3
  • Loading branch information
Scott Thompson authored and Jeff Garzik committed Oct 3, 2007
1 parent 4b0c681 commit bfb578f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 90925d3050253ff7b4f5d1660071df75f44bd0ff
refs/heads/master: 991bf528f602882580d0918842b125255d246a19
3 changes: 3 additions & 0 deletions trunk/drivers/ata/pata_ixp4xx_cf.c
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,9 @@ static __devinit int ixp4xx_pata_probe(struct platform_device *pdev)
data->cs0 = devm_ioremap(&pdev->dev, cs0->start, 0x1000);
data->cs1 = devm_ioremap(&pdev->dev, cs1->start, 0x1000);

if (!data->cs0 || !data->cs1)
return -ENOMEM;

irq = platform_get_irq(pdev, 0);
if (irq)
set_irq_type(irq, IRQT_RISING);
Expand Down

0 comments on commit bfb578f

Please sign in to comment.