projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04a3f5b
)
pata_of_platform: fix compile error
author
Brian Norris
<computersforpeace@gmail.com>
Mon, 3 Dec 2012 18:34:42 +0000
(10:34 -0800)
committer
Jeff Garzik
<jgarzik@redhat.com>
Mon, 3 Dec 2012 18:53:40 +0000
(13:53 -0500)
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>
drivers/ata/pata_of_platform.c
patch
|
blob
|
history
diff --git
a/drivers/ata/pata_of_platform.c
b/drivers/ata/pata_of_platform.c
index
cd0f9da
..
e5b234c
100644
(file)
--- a/
drivers/ata/pata_of_platform.c
+++ b/
drivers/ata/pata_of_platform.c
@@
-14,6
+14,7
@@
#include <linux/of_address.h>
#include <linux/platform_device.h>
#include <linux/ata_platform.h>
+#include <linux/libata.h>
static int __devinit pata_of_platform_probe(struct platform_device *ofdev)
{