netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ucc_geth: remove unnecessary asm/ocp.h include from ucc_geth_mii.c
@ 2007-09-19 15:30 Timur Tabi
  2007-09-20 20:56 ` Timur Tabi
  0 siblings, 1 reply; 2+ messages in thread
From: Timur Tabi @ 2007-09-19 15:30 UTC (permalink / raw)
  To: netdev; +Cc: 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.

Signed-off-by: Timur Tabi <timur@freescale.com>
---

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(-)

diff --git a/drivers/net/ucc_geth_mii.c b/drivers/net/ucc_geth_mii.c
index 6c257b8..df884f0 100644
--- a/drivers/net/ucc_geth_mii.c
+++ b/drivers/net/ucc_geth_mii.c
@@ -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>
-- 
1.5.2.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ucc_geth: remove unnecessary asm/ocp.h include from ucc_geth_mii.c
  2007-09-19 15:30 [PATCH] ucc_geth: remove unnecessary asm/ocp.h include from ucc_geth_mii.c Timur Tabi
@ 2007-09-20 20:56 ` Timur Tabi
  0 siblings, 0 replies; 2+ messages in thread
From: Timur Tabi @ 2007-09-20 20:56 UTC (permalink / raw)
  To: netdev

Timur Tabi wrote:
> 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.

-- 
Timur Tabi
Linux Kernel Developer @ Freescale

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-09-20 20:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-19 15:30 [PATCH] ucc_geth: remove unnecessary asm/ocp.h include from ucc_geth_mii.c Timur Tabi
2007-09-20 20:56 ` Timur Tabi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).