[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100721.222828.116132078.davem@davemloft.net>
Date: Wed, 21 Jul 2010 22:28:28 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: grant.likely@...retlab.ca
Cc: sfr@...b.auug.org.au, monstr@...str.eu, benh@...nel.crashing.org,
gregkh@...e.de, linux-kernel@...r.kernel.org,
linuxppc-dev@...abs.org, microblaze-uclinux@...e.uq.edu.au,
sparclinux@...r.kernel.org
Subject: Re: [PATCH 2/5] of: Merge of_platform_bus_type with
platform_bus_type
From: Grant Likely <grant.likely@...retlab.ca>
Date: Wed, 21 Jul 2010 17:40:00 -0600
> of_platform_bus was being used in the same manner as the platform_bus.
> The only difference being that of_platform_bus devices are generated
> from data in the device tree, and platform_bus devices are usually
> statically allocated in platform code. Having them separate causes
> the problem of device drivers having to be registered twice if it
> was possible for the same device to appear on either bus.
>
> This patch removes of_platform_bus_type and registers all of_platform
> bus devices and drivers on the platform bus instead. A previous patch
> made the of_device structure an alias for the platform_device structure,
> and a shim is used to adapt of_platform_drivers to the platform bus.
>
> After all of of_platform_bus drivers are converted to be normal platform
> drivers, the shim code can be removed.
>
> Signed-off-by: Grant Likely <grant.likely@...retlab.ca>
Acked-by: David S. Miller <davem@...emloft.net>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists