ucc_geth: remove unnecessary asm/ocp.h include from ucc_geth_mii.c
Subsystems (2)
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
@@ -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
Quoted 4 lines · Timur Tabi
ucc_geth_mii.cincludes <asm/ocp.h>, but it never needed it. With commit2f6c9d961081dc7b109eb19166244bcb2a5dfc28, the asm-powerpc => asm-ppc link is removed, and soucc_geth_mii.ccan no longer includeinclude/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