diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-18 09:26:17 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-18 09:26:17 -0700 |
commit | 86ea51d4a27ec79e9da7d2ce0c4a58f1dc4544c0 (patch) | |
tree | dadb5d86c9f05bdbfe3180c3b307630c08f721b3 /drivers/ata/sata_dwc_460ex.c | |
parent | 3b89f56783a4ef796190ef1192c25e72e0b986b6 (diff) | |
parent | 5c79a5ae23e72fa12f1c7c528f62bf3ea35da0dc (diff) | |
download | op-kernel-dev-86ea51d4a27ec79e9da7d2ce0c4a58f1dc4544c0.zip op-kernel-dev-86ea51d4a27ec79e9da7d2ce0c4a58f1dc4544c0.tar.gz |
Merge branch 'merge-devicetree' of git://git.secretlab.ca/git/linux-2.6
* 'merge-devicetree' of git://git.secretlab.ca/git/linux-2.6:
spi.h: missing kernel-doc notation, please fix
of: fix missing headers for of_address_to_resource() in MTD and SysACE drivers
of: Fix missing includes
ata: update for of_device to platform_device replacement
microblaze: Fix of: eliminate of_device->node and dev_archdata->{of,prom}_node
microblaze: Fix of/address: Merge all of the bus translation code
booting-without-of: Remove nonexistent chapters from TOC, fix numbering
Diffstat (limited to 'drivers/ata/sata_dwc_460ex.c')
-rw-r--r-- | drivers/ata/sata_dwc_460ex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/sata_dwc_460ex.c b/drivers/ata/sata_dwc_460ex.c index ea24c1e..2673a3d 100644 --- a/drivers/ata/sata_dwc_460ex.c +++ b/drivers/ata/sata_dwc_460ex.c @@ -1588,7 +1588,7 @@ static const struct ata_port_info sata_dwc_port_info[] = { }, }; -static int sata_dwc_probe(struct of_device *ofdev, +static int sata_dwc_probe(struct platform_device *ofdev, const struct of_device_id *match) { struct sata_dwc_device *hsdev; @@ -1702,7 +1702,7 @@ error_out: return err; } -static int sata_dwc_remove(struct of_device *ofdev) +static int sata_dwc_remove(struct platform_device *ofdev) { struct device *dev = &ofdev->dev; struct ata_host *host = dev_get_drvdata(dev); |