mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 12:54:27 +00:00
linuxkpi: hdmi: Split the module declaration to a new file
In order to have a proper linuxkpi_video kmod, move the module declaration to a new file as linuxkpi_video will also include linux_hdmi.c Differential Revision: https://reviews.freebsd.org/D44926 Reviewed by: bz, emaste, wulf Sponsored by: Beckhoff Automation GmbH & Co. KG
This commit is contained in:
parent
6a7819e43f
commit
7f84bb34a1
|
@ -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 @@ int hdmi_infoframe_unpack(union hdmi_infoframe *frame,
|
|||
return ret;
|
||||
}
|
||||
EXPORT_SYMBOL(hdmi_infoframe_unpack);
|
||||
|
||||
|
||||
MODULE_VERSION(linuxkpi_hdmi, 1);
|
||||
MODULE_DEPEND(linuxkpi_hdmi, linuxkpi, 1, 1, 1);
|
||||
|
|
7
sys/compat/linuxkpi/common/src/linuxkpi_hdmikmod.c
Normal file
7
sys/compat/linuxkpi/common/src/linuxkpi_hdmikmod.c
Normal file
|
@ -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);
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
KMOD= linuxkpi_hdmi
|
||||
SRCS= linux_hdmi.c \
|
||||
linuxkpi_hdmikmod.c
|
||||
|
||||
SRCS+= ${LINUXKPI_GENSRCS}
|
||||
|
||||
|
|
Loading…
Reference in a new issue