From: Thomas Bogendoerfer <tsbogend@xxxxxxxxxxxxxxxx> Date: Mon, 3 Aug 2009 22:05:00 +0200 > On Mon, Aug 03, 2009 at 03:05:32PM -0400, konrad@xxxxxxxxxxx wrote: >> big. So I thought that first get the Leon part of arch/sparc in >> and then figure out how to proceed with drivers/ambapp. amba_init will >> scan the AMBA bus and detect the connected > > how about using one of various XXX_initcall() things from include/linux/init.h > subsys_initcall sounds about right... That way you don't have to mess in the > sparc code, but could put it into your driver subdir... Right and this is what other bus layers do too. -- To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html