On Sun, May 30, 2010 at 11:10:03PM +0530, Ds, Sreedhara wrote:
> -static void __exit intel_scu_ipc_exit(void)
> -{
> -     pci_unregister_driver(&ipc_driver);
> -}
> -
>  MODULE_AUTHOR("Sreedhara DS <[email protected]>");
>  MODULE_DESCRIPTION("Intel SCU IPC driver");
>  MODULE_LICENSE("GPL");
>  
> -module_init(intel_scu_ipc_init);
> -module_exit(intel_scu_ipc_exit);
> +fs_initcall(intel_scu_ipc_init);

This is wrong. If it can't be a module then delete all the other module 
code from the driver and change it to a bool in Kconfig. And don't use 
fs_initcall - subsys or arch would seem more reasonable, but you're not 
describing the problem terribly clearly. Which drivers are getting 
initialised before this?

-- 
Matthew Garrett | [email protected]
--
To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" 
in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to