From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joerg Roedel Subject: Re: Using OMAP3 ISP live display and snapshot sample applications Date: Fri, 24 Feb 2012 12:01:37 +0100 Message-ID: <20120224110137.GF2454@amd.com> References: <20120214104436.GU22598@amd.com> <13567544.qv9HnVLVXR@avalon> <2017729.C83vkrQlqN@avalon> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Ohad Ben-Cohen Cc: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, Laurent Pinchart List-Id: iommu@lists.linux-foundation.org On Thu, Feb 23, 2012 at 07:01:05PM +0200, Ohad Ben-Cohen wrote: > On Thu, Feb 23, 2012 at 6:59 PM, Ohad Ben-Cohen wrote: > > diff --git a/arch/arm/mach-omap2/mailbox.c b/arch/arm/mach-omap2/mailbo= x.c > > index 609ea2d..f992395 100644 > > --- a/arch/arm/mach-omap2/mailbox.c > > +++ b/arch/arm/mach-omap2/mailbox.c > > @@ -412,7 +412,7 @@ static void __exit omap2_mbox_exit(void) > > =A0 =A0 =A0 =A0platform_driver_unregister(&omap2_mbox_driver); > > =A0} > > > > -module_init(omap2_mbox_init); > > +subsys_initcall(omap2_mbox_init); > > =A0module_exit(omap2_mbox_exit); > > > > =A0MODULE_LICENSE("GPL v2"); > = > And this, too: > = > diff --git a/drivers/iommu/omap-iommu.c b/drivers/iommu/omap-iommu.c > index 4e661f0..95adb7e 100644 > --- a/drivers/iommu/omap-iommu.c > +++ b/drivers/iommu/omap-iommu.c > @@ -1222,7 +1222,7 @@ static int __init omap_iommu_init(void) > = > return platform_driver_register(&omap_iommu_driver); > } > -module_init(omap_iommu_init); > +subsys_initcall(omap_iommu_init); > = > static void __exit omap_iommu_exit(void) > { These patches make a lot more sense to me than fixing this by relying on some random linker behavior. Can you please send a fix like this with a proper commit-msg? Thanks, Joerg -- = AMD Operating System Research Center Advanced Micro Devices GmbH Einsteinring 24 85609 Dornach General Managers: Alberto Bozzo Registration: Dornach, Landkr. Muenchen; Registerger. Muenchen, HRB Nr. 436= 32