Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153387874
D38163.id115420.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
691 B
Referenced Files
None
Subscribers
None
D38163.id115420.diff
View Options
Index: sys/compat/linuxkpi/common/include/linux/platform_device.h
===================================================================
--- sys/compat/linuxkpi/common/include/linux/platform_device.h
+++ 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
Tue, Apr 21, 9:06 PM (12 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31931436
Default Alt Text
D38163.id115420.diff (691 B)
Attached To
Mode
D38163: linuxkpi: Define `dev_is_platform()` and `to_platform_device()`
Attached
Detach File
Event Timeline
Log In to Comment