2020-05-09 06:39:07

by Jason Yan

[permalink] [raw]
Subject: [PATCH] drm/panel: visionox-rm69299: Add module license

Fix the following build warning:

WARNING: modpost: missing MODULE_LICENSE() in drivers/gpu/drm/panel/panel-visionox-rm69299.o
see include/linux/module.h for more information

Signed-off-by: Jason Yan <[email protected]>
---
drivers/gpu/drm/panel/panel-visionox-rm69299.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/panel/panel-visionox-rm69299.c b/drivers/gpu/drm/panel/panel-visionox-rm69299.c
index 25fe8b0bb040..ec279ffdbd94 100644
--- a/drivers/gpu/drm/panel/panel-visionox-rm69299.c
+++ b/drivers/gpu/drm/panel/panel-visionox-rm69299.c
@@ -300,3 +300,4 @@ static struct mipi_dsi_driver visionox_rm69299_driver = {
module_mipi_dsi_driver(visionox_rm69299_driver);

MODULE_DESCRIPTION("Visionox RM69299 DSI Panel Driver");
+MODULE_LICENSE("GPL");
--
2.21.1


2020-05-09 06:41:07

by Randy Dunlap

[permalink] [raw]
Subject: Re: [PATCH] drm/panel: visionox-rm69299: Add module license

On 5/8/20 11:30 PM, Jason Yan wrote:
> Fix the following build warning:
>
> WARNING: modpost: missing MODULE_LICENSE() in drivers/gpu/drm/panel/panel-visionox-rm69299.o
> see include/linux/module.h for more information
>
> Signed-off-by: Jason Yan <[email protected]>
> ---
> drivers/gpu/drm/panel/panel-visionox-rm69299.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/panel/panel-visionox-rm69299.c b/drivers/gpu/drm/panel/panel-visionox-rm69299.c
> index 25fe8b0bb040..ec279ffdbd94 100644
> --- a/drivers/gpu/drm/panel/panel-visionox-rm69299.c
> +++ b/drivers/gpu/drm/panel/panel-visionox-rm69299.c
> @@ -300,3 +300,4 @@ static struct mipi_dsi_driver visionox_rm69299_driver = {
> module_mipi_dsi_driver(visionox_rm69299_driver);
>
> MODULE_DESCRIPTION("Visionox RM69299 DSI Panel Driver");
> +MODULE_LICENSE("GPL");
>

I sent a patch for this yesterday.


--
~Randy

2020-05-09 15:11:29

by Jason Yan

[permalink] [raw]
Subject: Re: [PATCH] drm/panel: visionox-rm69299: Add module license


在 2020/5/9 14:36, Randy Dunlap 写道:
> On 5/8/20 11:30 PM, Jason Yan wrote:
>> Fix the following build warning:
>>
>> WARNING: modpost: missing MODULE_LICENSE() in drivers/gpu/drm/panel/panel-visionox-rm69299.o
>> see include/linux/module.h for more information
>>
>> Signed-off-by: Jason Yan <[email protected]>
>> ---
>> drivers/gpu/drm/panel/panel-visionox-rm69299.c | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/drivers/gpu/drm/panel/panel-visionox-rm69299.c b/drivers/gpu/drm/panel/panel-visionox-rm69299.c
>> index 25fe8b0bb040..ec279ffdbd94 100644
>> --- a/drivers/gpu/drm/panel/panel-visionox-rm69299.c
>> +++ b/drivers/gpu/drm/panel/panel-visionox-rm69299.c
>> @@ -300,3 +300,4 @@ static struct mipi_dsi_driver visionox_rm69299_driver = {
>> module_mipi_dsi_driver(visionox_rm69299_driver);
>>
>> MODULE_DESCRIPTION("Visionox RM69299 DSI Panel Driver");
>> +MODULE_LICENSE("GPL");
>>
>
> I sent a patch for this yesterday.
>

I'm sorry. Please ignore this one.

Thanks,

>