On 21/03/14 14:59, Phil.Edworthy@xxxxxxxxxxx wrote:
Hi Arnd,
Thanks for the review.
+static int __init pcie_init(void)
+{
+ return platform_driver_probe(&rcar_pcie_driver, rcar_pcie_probe);
+}
+subsys_initcall(pcie_init);
Why so early?
Good catch, copied from another PCIe driver!
I think you can change it to use module_driver() instead of the
init_call.
--
Ben Dooks http://www.codethink.co.uk/
Senior Engineer Codethink - Providing Genius
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html