When CONFIG_FB is compiled as a module, mxc_edid will
also be compiled as a module, so add MODULE_LICENSE to
avoid the following error:

ERROR: modpost: missing MODULE_LICENSE() in drivers/video/fbdev/mxc/mxc_edid.o

Signed-off-by: Xiaolei Wang <xiaolei.w...@windriver.com>
---
 drivers/video/fbdev/mxc/mxc_edid.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/video/fbdev/mxc/mxc_edid.c 
b/drivers/video/fbdev/mxc/mxc_edid.c
index 7230fb68260a..694d622839e5 100644
--- a/drivers/video/fbdev/mxc/mxc_edid.c
+++ b/drivers/video/fbdev/mxc/mxc_edid.c
@@ -769,4 +769,4 @@ int mxc_edid_read(struct i2c_adapter *adp, unsigned short 
addr,
        return 0;
 }
 EXPORT_SYMBOL(mxc_edid_read);
-
+MODULE_LICENSE("GPL");
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#14448): 
https://lists.yoctoproject.org/g/linux-yocto/message/14448
Mute This Topic: https://lists.yoctoproject.org/mt/108925821/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to