Linux kernel staging patches
 help / color / mirror / Atom feed
* [PATCH] gdm724x: add SPDX License in gdm724x drivers
@ 2021-11-02 18:58 Ankit Kumar Pandey
  2021-11-02 19:50 ` Greg KH
  0 siblings, 1 reply; 3+ messages in thread
From: Ankit Kumar Pandey @ 2021-11-02 18:58 UTC (permalink / raw)
  To: gregkh, linux-kernel, linux-staging

This work ensure SPDX-License convention is followed. License is taken
from file gdm_mux.c present in drivers/staging/gdm724x.

Signed-off-by: Ankit Kumar Pandey <itsankitkp@gmail.com>
---
 drivers/staging/gdm724x/gdmulte.mod.c | 40 +++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 drivers/staging/gdm724x/gdmulte.mod.c

diff --git a/drivers/staging/gdm724x/gdmulte.mod.c b/drivers/staging/gdm724x/gdmulte.mod.c
new file mode 100644
index 000000000..6ddc19dcc
--- /dev/null
+++ b/drivers/staging/gdm724x/gdmulte.mod.c
@@ -0,0 +1,40 @@
+// SPDX-License-Identifier: GPL-2.0
+/* Copyright (c) 2012 GCT Semiconductor, Inc. All rights reserved. */
+
+#include <linux/module.h>
+#define INCLUDE_VERMAGIC
+#include <linux/build-salt.h>
+#include <linux/elfnote-lto.h>
+#include <linux/vermagic.h>
+#include <linux/compiler.h>
+
+BUILD_SALT;
+BUILD_LTO_INFO;
+
+MODULE_INFO(vermagic, VERMAGIC_STRING);
+MODULE_INFO(name, KBUILD_MODNAME);
+
+__visible struct module __this_module
+__section(".gnu.linkonce.this_module") = {
+	.name = KBUILD_MODNAME,
+	.init = init_module,
+#ifdef CONFIG_MODULE_UNLOAD
+	.exit = cleanup_module,
+#endif
+	.arch = MODULE_ARCH_INIT,
+};
+
+MODULE_INFO(intree, "Y");
+
+#ifdef CONFIG_RETPOLINE
+MODULE_INFO(retpoline, "Y");
+#endif
+
+MODULE_INFO(staging, "Y");
+
+MODULE_INFO(depends, "");
+
+MODULE_ALIAS("usb:v1076p8000d*dc*dsc*dp*ic02isc06ip*in*");
+MODULE_ALIAS("usb:v1076p9000d*dc*dsc*dp*ic02isc06ip*in*");
+
+MODULE_INFO(srcversion, "EBCF613A4FE4F4BD3A2C60F");
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-11-03  8:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-02 18:58 [PATCH] gdm724x: add SPDX License in gdm724x drivers Ankit Kumar Pandey
2021-11-02 19:50 ` Greg KH
     [not found]   ` <CALbMxBz1A6V++jcBB1_oCUpYEnkVNnq2QUXBwpOhVyCXjB-Tnw@mail.gmail.com>
2021-11-03  8:25     ` [PATCH] gdm724x: add SPDX License in gdm724x drivers (resend) Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox