Hi all, So I have a MC68VZ328 machine and I want to add an external RTC + NVRAM chip to it. The chip itself is working as I can see it ticking over from my serial bootloader I use to load the kernel. I'm trying to register it via platform_device_register() in platform/68000/m68VZ328.c in config_BSP(). I'm getting an ENOMEM error in return.
From some printk()'s I've added I can see that my call to
platform_device_register() is coming really early and before any of the built in devices like platform, cpu etc. I'm wondering if I should be calling platform_device_register() later and the issue I'm seeing is because my call is before the kernel is really ready for it. I can't see anywhere else obvious in the m68k tree to put it. Any advice would be greatly appreciated. Cheers, Daniel -- To unsubscribe from this list: send the line "unsubscribe linux-m68k" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html