[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20101229123740.c39238f8.akpm@linux-foundation.org>
Date: Wed, 29 Dec 2010 12:37:40 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Greg Kroah-Hartman <gregkh@...e.de>
Subject: Re: (arm-)global platform device registration functions
On Wed, 29 Dec 2010 17:25:12 +0100
Uwe Kleine-K__nig <u.kleine-koenig@...gutronix.de> wrote:
> Hello,
>
> some time ago I started to dynamically allocate platform_devices for
> arm/plat-mxc. For that purpose I added many functions, see
> arch/arm/plat-mxc/include/mach/devices-common.h [1]. Now arm/arch-mxs
> want to do the same, so I wonder if it would be sensible to do something
> like this more globally (either for arm or better kernel global).
>
Sounds sensible to me, although I don't really understand what you've
done - didn't platform_device_alloc() already "dynamically allocate
platform_devices"?
If you were to implement this common infrastructure, there may be
already-existing code which could use it. How would we locate that?
--
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