projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
088ab30
)
ata: update for of_device to platform_device replacement
author
Stephen Rothwell
<
[email protected]
>
Mon, 16 Aug 2010 02:20:59 +0000
(12:20 +1000)
committer
Grant Likely
<
[email protected]
>
Mon, 16 Aug 2010 21:13:28 +0000
(15:13 -0600)
Signed-off-by: Stephen Rothwell <
[email protected]
>
Signed-off-by: Grant Likely <
[email protected]
>
drivers/ata/sata_dwc_460ex.c
patch
|
blob
|
history
diff --git
a/drivers/ata/sata_dwc_460ex.c
b/drivers/ata/sata_dwc_460ex.c
index ea24c1e51be221e167ebc7fc7c2bd2658aff8e58..2673a3d1480654ceec39f2ab144b15cde72ba72e 100644
(file)
--- 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);