diff --git a/sys/compat/linuxkpi/common/include/linux/platform_device.h b/sys/compat/linuxkpi/common/include/linux/platform_device.h --- a/sys/compat/linuxkpi/common/include/linux/platform_device.h +++ b/sys/compat/linuxkpi/common/include/linux/platform_device.h @@ -34,6 +34,9 @@ #include struct platform_device { + const char *name; + int id; + bool id_auto; struct device dev; }; @@ -78,6 +81,13 @@ return; } +static __inline int +platform_device_register(struct platform_device *pdev) +{ + pr_debug("%s: TODO\n", __func__); + return (0); +} + static __inline void platform_device_unregister(struct platform_device *pdev) {