Messages in this thread | | | Date | Wed, 7 Dec 2005 09:24:46 +0000 | From | Russell King <> | Subject | Re: [PATCH] Minor change to platform_device_register_simple prototype |
| |
On Wed, Dec 07, 2005 at 07:50:32AM +0100, Jean Delvare wrote: > What is the new preferred interface? Is it already in mainline or only > in -mm? I am writing a new platform driver, and am using > platform_device_interface_simple for now. It works just fine, but if > it is going to be deprecated soon, I better update my driver before I > submit it for inclusion.
It is in mainline already - see
http://www.kernel.org/git/gitweb.cgi?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=37c12e7497b6fe2b6a890814f0ff4edce696d862
where you'll find an example usage in the commit comments.
Thanks.
-- Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: 2.6 Serial core - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |