Skip to contentSkip to conversation

imageon-bridge: Add module license information

PATCH Applied Mike Looijmans 3 participants 3 messages Jul 28, 2015 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 imageon-bridge: Add module license information

Comment header specifies GPL-2, so add a MODULE_LICENSE("GPL v2"). This fixes the driver failing to load when built as module:
imageon_bridge: module license 'unspecified' taints kernel.
imageon_bridge: Unknown symbol ...
As an extra service, also add a description.

---
 drivers/media/platform/imageon-bridge.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/media/platform/imageon-bridge.c +3 -0
index 9550695..a69b6da 100644
@@ -317,3 +317,6 @@ static struct platform_driver imageon_bridge_driver = {
 	.remove = imageon_bridge_remove,
 };
 module_platform_driver(imageon_bridge_driver);
+
+MODULE_DESCRIPTION("Imageon video bridge");
+MODULE_LICENSE("GPL v2");
Signature · 1 line
1.9.1
#1 lore raw
Quoted 17 lines · Mike Looijmans

Comment header specifies GPL-2, so add a MODULE_LICENSE("GPL v2"). This fixes the driver failing to load when built as module:
imageon_bridge: module license 'unspecified' taints kernel.
imageon_bridge: Unknown symbol ...
As an extra service, also add a description.

---
 drivers/media/platform/imageon-bridge.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/media/platform/imageon-bridge.c +0 -0
index 9550695..a69b6da 100644

drivers/media/platform/imageon-bridge.c static struct platform_driver imageon_bridge_driver = { · line 322

Quoted 6 lines
drivers/media/platform/imageon-bridge.c +3 -0
@@ -317,3 +317,6 @@ static struct platform_driver imageon_bridge_driver = {
 	.remove = imageon_bridge_remove,
 };
 module_platform_driver(imageon_bridge_driver);
+
+MODULE_DESCRIPTION("Imageon video bridge");
+MODULE_LICENSE("GPL v2");

Lovely, but unfortunately the imageon driver is not part of the official linux kernel.

So we can't do anything with this patch.

Regards,

Hans

#2 lore raw
Quoted 27 lines · Hans Verkuil
Quoted 17 lines · Mike Looijmans

Comment header specifies GPL-2, so add a MODULE_LICENSE("GPL v2"). This fixes the driver failing to load when built as module:
imageon_bridge: module license 'unspecified' taints kernel.
imageon_bridge: Unknown symbol ...
As an extra service, also add a description.

---
  drivers/media/platform/imageon-bridge.c | 3 +++
  1 file changed, 3 insertions(+)
drivers/media/platform/imageon-bridge.c +0 -0
index 9550695..a69b6da 100644

drivers/media/platform/imageon-bridge.c static struct platform_driver imageon_bridge_driver = { · line 322

Quoted 6 lines
drivers/media/platform/imageon-bridge.c +3 -0
@@ -317,3 +317,6 @@ static struct platform_driver imageon_bridge_driver = {
  	.remove = imageon_bridge_remove,
  };
  module_platform_driver(imageon_bridge_driver);
+
+MODULE_DESCRIPTION("Imageon video bridge");
+MODULE_LICENSE("GPL v2");

Lovely, but unfortunately the imageon driver is not part of the official linux kernel.

Quoted 1 line

So we can't do anything with this patch.

I've applied the patch, thanks. Hopefully the driver will find its way upstream soon.

- Lars