linux-mips
[Top] [All Lists]

[PATCH] rbtx4938: minor cleanup

To: linux-mips@linux-mips.org
Subject: [PATCH] rbtx4938: minor cleanup
From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Tue, 22 Apr 2008 23:59:30 +0900 (JST)
Cc: ralf@linux-mips.org
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
* Do not initialize res->parent for platform device.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
---
Patch against linux-queue tree.

 arch/mips/tx4938/toshiba_rbtx4938/setup.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/arch/mips/tx4938/toshiba_rbtx4938/setup.c 
b/arch/mips/tx4938/toshiba_rbtx4938/setup.c
index 2fbf7d4..3a3659e 100644
--- a/arch/mips/tx4938/toshiba_rbtx4938/setup.c
+++ b/arch/mips/tx4938/toshiba_rbtx4938/setup.c
@@ -1026,7 +1026,6 @@ static void __init txx9_spi_init(unsigned long base, int 
irq)
                        .start  = base,
                        .end    = base + 0x20 - 1,
                        .flags  = IORESOURCE_MEM,
-                       .parent = &tx4938_reg_resource,
                }, {
                        .start  = irq,
                        .flags  = IORESOURCE_IRQ,
@@ -1078,7 +1077,6 @@ static int __init txx9_wdt_init(unsigned long base)
                .start  = base,
                .end    = base + 0x100 - 1,
                .flags  = IORESOURCE_MEM,
-               .parent = &tx4938_reg_resource,
        };
        struct platform_device *dev =
                platform_device_register_simple("txx9wdt", -1, &res, 1);

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] rbtx4938: minor cleanup, Atsushi Nemoto <=