Skip to content

Commit

Permalink
of: remove asm/of_platform.h
Browse files Browse the repository at this point in the history
Only thing left in it is of_instantiate_rtc() which can be moved to
asm/prom.h on PowerPC and is unused in microblaze.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Grant Likely committed Jul 24, 2010
1 parent 1ab1d63 commit 129ac79
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 53 deletions.
19 changes: 0 additions & 19 deletions arch/microblaze/include/asm/of_platform.h

This file was deleted.

16 changes: 0 additions & 16 deletions arch/powerpc/include/asm/of_platform.h

This file was deleted.

2 changes: 2 additions & 0 deletions arch/powerpc/include/asm/prom.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,5 +117,7 @@ extern const void *of_get_mac_address(struct device_node *np);
struct pci_dev;
extern int of_irq_map_pci(struct pci_dev *pdev, struct of_irq *out_irq);

extern void of_instantiate_rtc(void);

#endif /* __KERNEL__ */
#endif /* _POWERPC_PROM_H */
16 changes: 0 additions & 16 deletions arch/sparc/include/asm/of_platform.h

This file was deleted.

2 changes: 0 additions & 2 deletions include/linux/of_platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ extern void of_unregister_platform_driver(struct of_platform_driver *drv);
extern struct of_device *of_device_alloc(struct device_node *np,
const char *bus_id,
struct device *parent);
#include <asm/of_platform.h>

extern struct of_device *of_find_device_by_node(struct device_node *np);

extern int of_bus_type_init(struct bus_type *bus, const char *name);
Expand Down

0 comments on commit 129ac79

Please sign in to comment.