On 5/18/2015 5:26 AM, G Gregory wrote:
struct platform_device_id sbsa_gwdt_id { {"sbsa-gwdt", }, };
MODULE_DEVICE_TABLE(platform, sbsa_gwdt_id);
or something like that from memory.
Graeme
This changes makes the modules auto-load works. I guess it should have been added to begin with. Previously, it works when modprobe manually because the driver name happens to be the same as device name.
Thanks,
Suravee