[PATCH] media: ipu3: Use MODULE_FIRMWARE to add firmware files metadata

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The ipu3 driver requests firmware files but does not use the
MODULE_FIRMWARE macro to show them in the module metadata

Signed-off-by: Víctor Gonzalo <victor.gonzalo@xxxxxxxxxxxxxxxx>
---
 drivers/staging/media/ipu3/ipu3.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/staging/media/ipu3/ipu3.c b/drivers/staging/media/ipu3/ipu3.c
index 0c453b37f8c4..10b4407b734c 100644
--- a/drivers/staging/media/ipu3/ipu3.c
+++ b/drivers/staging/media/ipu3/ipu3.c
@@ -13,6 +13,7 @@
 #include <linux/pm_runtime.h>
 
 #include "ipu3.h"
+#include "ipu3-css-fw.h"
 #include "ipu3-dmamap.h"
 #include "ipu3-mmu.h"
 
@@ -866,3 +867,5 @@ MODULE_AUTHOR("Yuning Pu <yuning.pu@xxxxxxxxx>");
 MODULE_AUTHOR("Yong Zhi <yong.zhi@xxxxxxxxx>");
 MODULE_LICENSE("GPL v2");
 MODULE_DESCRIPTION("Intel ipu3_imgu PCI driver");
+MODULE_FIRMWARE(IMGU_FW_NAME);
+MODULE_FIRMWARE(IMGU_FW_NAME_20161208);
-- 
2.34.1




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux