Skip to content

Commit

Permalink
pata_of_platform: fix compile error
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Brian Norris authored and Jeff Garzik committed Dec 3, 2012
1 parent 04a3f5b commit 84043ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/ata/pata_of_platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 84043ac

Please sign in to comment.