[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <AANLkTimzGTe52by8d4NQPV1f8Wmayb6ZoNMX4yDqFCFD@mail.gmail.com>
Date: Sun, 20 Mar 2011 00:27:48 -0600
From: Grant Likely <grant.likely@...retlab.ca>
To: David Miller <davem@...emloft.net>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] niu: Rename NIU parent platform device name to fix conflict.
On Sun, Mar 20, 2011 at 12:07 AM, David Miller <davem@...emloft.net> wrote:
>
> When the OF device driver bits were converted over to the platform
> device infrastructure in commit 74888760d40b3ac9054f9c5fa07b566c0676ba2d
> ("dt/net: Eliminate users of of_platform_{,un}register_driver") we
> inadvertantly created probing problems in the OF case.
[...]
>
> Signed-off-by: David S. Miller <davem@...emloft.net>
> ---
>
> Grant, I'll push this fix via the net-2.6 tree, you don't have
> to worry about it.
Okay, thanks.
g.
>
> drivers/net/niu.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/net/niu.c b/drivers/net/niu.c
> index 40fa59e..32678b6 100644
> --- a/drivers/net/niu.c
> +++ b/drivers/net/niu.c
> @@ -9501,7 +9501,7 @@ static struct niu_parent * __devinit niu_new_parent(struct niu *np,
> struct niu_parent *p;
> int i;
>
> - plat_dev = platform_device_register_simple("niu", niu_parent_index,
> + plat_dev = platform_device_register_simple("niu-board", niu_parent_index,
> NULL, 0);
> if (IS_ERR(plat_dev))
> return NULL;
> --
> 1.7.4.1
>
>
--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists