Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109367432
D38163.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
695 B
Referenced Files
None
Subscribers
None
D38163.diff
View Options
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
@@ -42,6 +42,8 @@
struct device_driver driver;
};
+#define dev_is_platform(dev) (false)
+#define to_platform_device(dev) (NULL)
static __inline int
platform_driver_register(struct platform_driver *pdrv)
@@ -76,4 +78,12 @@
return;
}
+static __inline void
+platform_device_unregister(struct platform_device *pdev)
+{
+
+ pr_debug("%s: TODO\n", __func__);
+ return;
+}
+
#endif /* _LINUXKPI_LINUX_PLATFORM_DEVICE_H */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Feb 5, 3:40 AM (20 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16466362
Default Alt Text
D38163.diff (695 B)
Attached To
Mode
D38163: linuxkpi: Define `dev_is_platform()` and `to_platform_device()`
Attached
Detach File
Event Timeline
Log In to Comment