Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177571541
D44926.1794771366.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
D44926.1794771366.diff
View Options
diff --git a/sys/compat/linuxkpi/common/src/linux_hdmi.c b/sys/compat/linuxkpi/common/src/linux_hdmi.c
--- a/sys/compat/linuxkpi/common/src/linux_hdmi.c
+++ b/sys/compat/linuxkpi/common/src/linux_hdmi.c
@@ -21,12 +21,6 @@
* DEALINGS IN THE SOFTWARE.
*/
-#ifdef __FreeBSD__
-
-#include <sys/param.h>
-#include <sys/module.h>
-#endif
-
#include <linux/bitops.h>
#include <linux/bug.h>
#include <linux/errno.h>
@@ -1915,7 +1909,3 @@
return ret;
}
EXPORT_SYMBOL(hdmi_infoframe_unpack);
-
-
-MODULE_VERSION(linuxkpi_hdmi, 1);
-MODULE_DEPEND(linuxkpi_hdmi, linuxkpi, 1, 1, 1);
diff --git a/sys/compat/linuxkpi/common/src/linuxkpi_hdmikmod.c b/sys/compat/linuxkpi/common/src/linuxkpi_hdmikmod.c
new file mode 100644
--- /dev/null
+++ b/sys/compat/linuxkpi/common/src/linuxkpi_hdmikmod.c
@@ -0,0 +1,7 @@
+/* Public domain. */
+
+#include <sys/param.h>
+#include <sys/module.h>
+
+MODULE_VERSION(linuxkpi_hdmi, 1);
+MODULE_DEPEND(linuxkpi_hdmi, linuxkpi, 1, 1, 1);
diff --git a/sys/modules/linuxkpi_hdmi/Makefile b/sys/modules/linuxkpi_hdmi/Makefile
--- a/sys/modules/linuxkpi_hdmi/Makefile
+++ b/sys/modules/linuxkpi_hdmi/Makefile
@@ -2,6 +2,7 @@
KMOD= linuxkpi_hdmi
SRCS= linux_hdmi.c \
+ linuxkpi_hdmikmod.c
SRCS+= ${LINUXKPI_GENSRCS}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 15, 7:36 PM (21 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41747581
Default Alt Text
D44926.1794771366.diff (1 KB)
Attached To
Mode
D44926: linuxkpi: hdmi: Split the module declaration to a new file
Attached
Detach File
Event Timeline