All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ankit Kumar Pandey <itsankitkp@gmail.com>
To: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.or,
	linux-staging@lists.linux.dev
Subject: [PATCH] gdm724x: add SPDX License in gdm724x drivers
Date: Wed, 3 Nov 2021 00:28:44 +0530	[thread overview]
Message-ID: <20211102185844.GA94400@ankit-pc> (raw)

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


             reply	other threads:[~2021-11-02 18:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-02 18:58 Ankit Kumar Pandey [this message]
2021-11-02 19:50 ` [PATCH] gdm724x: add SPDX License in gdm724x drivers 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211102185844.GA94400@ankit-pc \
    --to=itsankitkp@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.or \
    --cc=linux-staging@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.