From: Jack Leigh <jack.leigh@collabora.com>
Date: Tue, 30 Sep 2014 17:39:32 +0100
Subject: Install video.ko

---
 debian/dkms.conf.in  | 2 ++
 debian/rules.modules | 1 +
 2 files changed, 3 insertions(+)

diff --git a/debian/dkms.conf.in b/debian/dkms.conf.in
index 45a8400..a3fe333 100644
--- a/debian/dkms.conf.in
+++ b/debian/dkms.conf.in
@@ -8,9 +8,11 @@ BUILT_MODULE_NAME[1]="intel_ips"
 BUILT_MODULE_NAME[2]="drm"
 BUILT_MODULE_NAME[3]="drm_kms_helper"
 BUILT_MODULE_NAME[4]="drm_mipi_dsi"
+BUILT_MODULE_NAME[5]="video"
 DEST_MODULE_LOCATION[0]=/updates
 DEST_MODULE_LOCATION[1]=/updates
 DEST_MODULE_LOCATION[2]=/updates
 DEST_MODULE_LOCATION[3]=/updates
 DEST_MODULE_LOCATION[4]=/updates
+DEST_MODULE_LOCATION[5]=/updates
 REMAKE_INITRD="Y"
diff --git a/debian/rules.modules b/debian/rules.modules
index 43d7849..12691fe 100644
--- a/debian/rules.modules
+++ b/debian/rules.modules
@@ -64,6 +64,7 @@ binary-modules: prep-deb-files
 	$(MAKE) modules KSRC=$(KSRC) KVER=$(KVERS)
 
 	# Install the module
+	install -D -m 0644 video.ko debian/$(PACKAGE)-$(KVERS)/lib/modules/$(KVERS)/updates/video.ko
 	install -D -m 0644 i915.ko debian/$(PACKAGE)-$(KVERS)/lib/modules/$(KVERS)/updates/i915.ko
 	install -D -m 0644 intel_ips.ko debian/$(PACKAGE)-$(KVERS)/lib/modules/$(KVERS)/updates/intel_ips.ko
 	install -D -m 0644 drm.ko debian/$(PACKAGE)-$(KVERS)/lib/modules/$(KVERS)/updates/drm.ko
