Skip to contentSkip to conversation

ucc_geth: remove unnecessary asm/ocp.h include from ucc_geth_mii.c

PATCH In review Timur Tabi 1 participant 2 messages Sep 19, 2007 – Sep 20, 2007

Subsystems (2)
lore
Share & tools
lore

Timur Tabi

author
#0 lore raw

PATCH 1/1 ucc_geth: remove unnecessary asm/ocp.h include from ucc_geth_mii.c

ucc_geth_mii.c includes <asm/ocp.h>, but it never needed it. With commit 2f6c9d961081dc7b109eb19166244bcb2a5dfc28, the asm-powerpc => asm-ppc link is removed, and so ucc_geth_mii.c can no longer include include/asm-ppc/ocp.h, so the compile fails. This patch removes the #include line.

---

This patch is for the net-2.6.24 branch of the netdev-2.6.git repository.

 drivers/net/ucc_geth_mii.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
drivers/net/ucc_geth_mii.c +0 -1
index 6c257b8..df884f0 100644
@@ -32,7 +32,6 @@
 #include <linux/mm.h>
 #include <linux/module.h>
 #include <linux/platform_device.h>
-#include <asm/ocp.h>
 #include <linux/crc32.h>
 #include <linux/mii.h>
 #include <linux/phy.h>
Signature · 1 line
1.5.2.4
author
#1 lore raw
Quoted 4 lines · Timur Tabi

ucc_geth_mii.c includes <asm/ocp.h>, but it never needed it. With commit 2f6c9d961081dc7b109eb19166244bcb2a5dfc28, the asm-powerpc => asm-ppc link is removed, and so ucc_geth_mii.c can no longer include include/asm-ppc/ocp.h, so the compile fails. This patch removes the #include line.

Never mind -- I see Kumar fixed this bug some time ago, but it only recently made it into a repo.

Signature · 2 lines
Timur Tabi
Linux Kernel Developer @ Freescale