Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 265134
b: refs/heads/master
c: 8f5d621
h: refs/heads/master
v: v3
  • Loading branch information
Joachim Foerster authored and Greg Kroah-Hartman committed Oct 18, 2011
1 parent 34d5f2b commit ed43726
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3687f641307eeff6f7fe31a88dc39db88e89238b
refs/heads/master: 8f5d621543cb064d2989fc223d3c2bc61a43981e
10 changes: 6 additions & 4 deletions trunk/drivers/usb/host/isp1760-if.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,18 @@

#include "isp1760-hcd.h"

#ifdef CONFIG_PPC_OF
#ifdef CONFIG_OF
#include <linux/of.h>
#include <linux/of_platform.h>
#include <linux/of_address.h>
#include <linux/of_irq.h>
#endif

#ifdef CONFIG_PCI
#include <linux/pci.h>
#endif

#ifdef CONFIG_PPC_OF
#ifdef CONFIG_OF
static int of_isp1760_probe(struct platform_device *dev)
{
struct usb_hcd *hcd;
Expand Down Expand Up @@ -396,7 +398,7 @@ static int __init isp1760_init(void)
ret = platform_driver_register(&isp1760_plat_driver);
if (!ret)
any_ret = 0;
#ifdef CONFIG_PPC_OF
#ifdef CONFIG_OF
ret = platform_driver_register(&isp1760_of_driver);
if (!ret)
any_ret = 0;
Expand All @@ -416,7 +418,7 @@ module_init(isp1760_init);
static void __exit isp1760_exit(void)
{
platform_driver_unregister(&isp1760_plat_driver);
#ifdef CONFIG_PPC_OF
#ifdef CONFIG_OF
platform_driver_unregister(&isp1760_of_driver);
#endif
#ifdef CONFIG_PCI
Expand Down

0 comments on commit ed43726

Please sign in to comment.