Skip to content

Commit

Permalink
[POWERPC] Use <linux/of_{platform, device}.h> and not <asm/...> varia…
Browse files Browse the repository at this point in the history
…nts.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Jon Loeliger authored and Paul Mackerras committed Jan 17, 2008
1 parent 0a4690c commit 0173d42
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion arch/powerpc/kernel/of_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
#include <linux/module.h>
#include <linux/mod_devicetable.h>
#include <linux/slab.h>
#include <linux/of_device.h>

#include <asm/errno.h>
#include <asm/dcr.h>
#include <asm/of_device.h>

static void of_device_make_bus_id(struct of_device *dev)
{
Expand Down
3 changes: 2 additions & 1 deletion arch/powerpc/platforms/44x/rainier.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@
* option) any later version.
*/
#include <linux/init.h>
#include <linux/of_platform.h>

#include <asm/machdep.h>
#include <asm/prom.h>
#include <asm/udbg.h>
#include <asm/time.h>
#include <asm/uic.h>
#include <asm/of_platform.h>
#include <asm/pci-bridge.h>
#include "44x.h"

Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/maple/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
#include <linux/serial.h>
#include <linux/smp.h>
#include <linux/bitops.h>
#include <linux/of_device.h>

#include <asm/processor.h>
#include <asm/sections.h>
Expand All @@ -56,7 +57,6 @@
#include <asm/dma.h>
#include <asm/cputable.h>
#include <asm/time.h>
#include <asm/of_device.h>
#include <asm/lmb.h>
#include <asm/mpic.h>
#include <asm/rtas.h>
Expand Down

0 comments on commit 0173d42

Please sign in to comment.