From: "David E. Box" <david.e.box@linux.intel.com>
To: irenic.rajneesh@gmail.com, david.e.box@intel.com,
hdegoede@redhat.com, markgross@kernel.org,
andy.shevchenko@gmail.com
Cc: linux-kernel@vger.kernel.org, platform-driver-x86@vger.kernel.org
Subject: [PATCH 2/2] platform/x86/intel/pmt/telemetry: Add driver version
Date: Thu, 16 Mar 2023 15:57:36 -0700 [thread overview]
Message-ID: <20230316225736.2856521-2-david.e.box@linux.intel.com> (raw)
In-Reply-To: <20230316225736.2856521-1-david.e.box@linux.intel.com>
Add a driver version number to make it easier to track changes in
backported kernels.
Signed-off-by: David E. Box <david.e.box@linux.intel.com>
---
drivers/platform/x86/intel/pmt/telemetry.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/platform/x86/intel/pmt/telemetry.c b/drivers/platform/x86/intel/pmt/telemetry.c
index 71cdef42084a..deb96b5777ce 100644
--- a/drivers/platform/x86/intel/pmt/telemetry.c
+++ b/drivers/platform/x86/intel/pmt/telemetry.c
@@ -19,6 +19,7 @@
#include "../vsec.h"
#include "class.h"
+#define DRIVER_VERSION "1.0"
#define TELEM_SIZE_OFFSET 0x0
#define TELEM_GUID_OFFSET 0x4
#define TELEM_BASE_OFFSET 0x8
@@ -160,4 +161,5 @@ module_exit(pmt_telem_exit);
MODULE_AUTHOR("David E. Box <david.e.box@linux.intel.com>");
MODULE_DESCRIPTION("Intel PMT Telemetry driver");
MODULE_LICENSE("GPL v2");
+MODULE_VERSION(DRIVER_VERSION);
MODULE_IMPORT_NS(INTEL_PMT);
--
2.34.1
next prev parent reply other threads:[~2023-03-16 22:57 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-16 22:57 [PATCH 1/2] platform/x86/intel/pmt: Add INTEL_PMT module namespace David E. Box
2023-03-16 22:57 ` David E. Box [this message]
2023-03-17 13:35 ` [PATCH 2/2] platform/x86/intel/pmt/telemetry: Add driver version Andy Shevchenko
2023-03-20 14:18 ` Hans de Goede
2023-03-20 17:03 ` David E. Box
2023-03-17 13:34 ` [PATCH 1/2] platform/x86/intel/pmt: Add INTEL_PMT module namespace Andy Shevchenko
2023-03-20 14:16 ` Hans de Goede
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=20230316225736.2856521-2-david.e.box@linux.intel.com \
--to=david.e.box@linux.intel.com \
--cc=andy.shevchenko@gmail.com \
--cc=david.e.box@intel.com \
--cc=hdegoede@redhat.com \
--cc=irenic.rajneesh@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=markgross@kernel.org \
--cc=platform-driver-x86@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome