diff options
author | Brian Norris <computersforpeace@gmail.com> | 2012-12-03 13:34:42 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2012-12-03 13:53:40 -0500 |
commit | 84043ac26ed120826db8e6198531da888c6e57b0 (patch) | |
tree | 7be552dbfd1fd125b45c27a781478ae9283493dc /drivers/ata/pata_of_platform.c | |
parent | 04a3f5b7d2961a05b428abc75b30e2dc85f88ac6 (diff) |
pata_of_platform: fix compile error
I failed to include <linux/libata.h>, causing this error:
drivers/ata/pata_of_platform.c:93: error: 'ata_platform_remove_one' undeclared here (not in a function)
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/pata_of_platform.c')
-rw-r--r-- | drivers/ata/pata_of_platform.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ata/pata_of_platform.c b/drivers/ata/pata_of_platform.c index cd0f9da08637..e5b234c370fa 100644 --- a/drivers/ata/pata_of_platform.c +++ b/drivers/ata/pata_of_platform.c | |||
@@ -14,6 +14,7 @@ | |||
14 | #include <linux/of_address.h> | 14 | #include <linux/of_address.h> |
15 | #include <linux/platform_device.h> | 15 | #include <linux/platform_device.h> |
16 | #include <linux/ata_platform.h> | 16 | #include <linux/ata_platform.h> |
17 | #include <linux/libata.h> | ||
17 | 18 | ||
18 | static int __devinit pata_of_platform_probe(struct platform_device *ofdev) | 19 | static int __devinit pata_of_platform_probe(struct platform_device *ofdev) |
19 | { | 20 | { |