All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Thomas Weißschuh" <linux@weissschuh.net>
To: "Basavaraj Natikar" <basavaraj.natikar@amd.com>,
	"Jiri Kosina" <jikos@kernel.org>,
	"Benjamin Tissoires" <benjamin.tissoires@redhat.com>,
	"K. Y. Srinivasan" <kys@microsoft.com>,
	"Haiyang Zhang" <haiyangz@microsoft.com>,
	"Wei Liu" <wei.liu@kernel.org>,
	"Dexuan Cui" <decui@microsoft.com>,
	"Filipe Laíns" <lains@riseup.net>,
	"Srinivas Pandruvada" <srinivas.pandruvada@linux.intel.com>,
	"Maximilian Luz" <luzmaximilian@gmail.com>,
	"Corentin Chary" <corentin.chary@gmail.com>,
	"Hans de Goede" <hdegoede@redhat.com>,
	"Mark Gross" <markgross@kernel.org>,
	"Viresh Kumar" <vireshk@kernel.org>,
	"Johan Hovold" <johan@kernel.org>,
	"Alex Elder" <elder@kernel.org>,
	"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>
Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-hyperv@vger.kernel.org,
	platform-driver-x86@vger.kernel.org,
	acpi4asus-user@lists.sourceforge.net,
	greybus-dev@lists.linaro.org, linux-staging@lists.linux.dev,
	"Thomas Weißschuh" <linux@weissschuh.net>
Subject: [PATCH 8/9] platform/x86: asus-tf103c-dock: Constify toprow keymap
Date: Mon, 30 Jan 2023 03:59:44 +0000	[thread overview]
Message-ID: <20230130-hid-const-ll-driver-v1-8-3fc282b3b1d0@weissschuh.net> (raw)
In-Reply-To: <20230130-hid-const-ll-driver-v1-0-3fc282b3b1d0@weissschuh.net>

This structure is never modified, make it const.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
 drivers/platform/x86/asus-tf103c-dock.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/platform/x86/asus-tf103c-dock.c b/drivers/platform/x86/asus-tf103c-dock.c
index 84c45e8f51ad..aeb1138464df 100644
--- a/drivers/platform/x86/asus-tf103c-dock.c
+++ b/drivers/platform/x86/asus-tf103c-dock.c
@@ -259,7 +259,7 @@ static const struct hid_ll_driver tf103c_dock_hid_ll_driver = {
 	.raw_request = tf103c_dock_hid_raw_request,
 };
 
-static int tf103c_dock_toprow_codes[13][2] = {
+static const int tf103c_dock_toprow_codes[13][2] = {
 	/* Normal,            AltGr pressed */
 	{ KEY_POWER,          KEY_F1 },
 	{ KEY_RFKILL,         KEY_F2 },

-- 
2.39.1


  parent reply	other threads:[~2023-01-30  3:59 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-30  3:59 [PATCH 0/9] HID: Constify lowlevel HID drivers Thomas Weißschuh
2023-01-30  3:59 ` [PATCH 1/9] HID: amd_sfh: Constify lowlevel HID driver Thomas Weißschuh
2023-01-30  3:59 ` [PATCH 2/9] HID: hyperv: " Thomas Weißschuh
2023-01-30 15:42   ` Wei Liu
2023-01-30  3:59 ` [PATCH 3/9] HID: logitech-dj: " Thomas Weißschuh
2023-01-30  3:59 ` [PATCH 4/9] HID: steam: " Thomas Weißschuh
2023-01-30  3:59 ` [PATCH 5/9] HID: intel-ish-hid: " Thomas Weißschuh
2023-01-30  3:59 ` [PATCH 6/9] HID: surface-hid: " Thomas Weißschuh
2023-01-30 11:53   ` Maximilian Luz
2023-01-30  3:59 ` [PATCH 7/9] platform/x86: asus-tf103c-dock: " Thomas Weißschuh
2023-01-30  3:59 ` Thomas Weißschuh [this message]
2023-01-30  3:59 ` [PATCH 9/9] staging: greybus: hid: " Thomas Weißschuh
2023-01-31 10:15   ` Greg Kroah-Hartman
2023-01-30  8:36 ` [PATCH 0/9] HID: Constify lowlevel HID drivers Hans de Goede
2023-01-30 13:26   ` Thomas Weißschuh
2023-01-30 13:28     ` Hans de Goede
2023-02-06 15:24 ` Benjamin Tissoires

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=20230130-hid-const-ll-driver-v1-8-3fc282b3b1d0@weissschuh.net \
    --to=linux@weissschuh.net \
    --cc=acpi4asus-user@lists.sourceforge.net \
    --cc=basavaraj.natikar@amd.com \
    --cc=benjamin.tissoires@redhat.com \
    --cc=corentin.chary@gmail.com \
    --cc=decui@microsoft.com \
    --cc=elder@kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=greybus-dev@lists.linaro.org \
    --cc=haiyangz@microsoft.com \
    --cc=hdegoede@redhat.com \
    --cc=jikos@kernel.org \
    --cc=johan@kernel.org \
    --cc=kys@microsoft.com \
    --cc=lains@riseup.net \
    --cc=linux-hyperv@vger.kernel.org \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-staging@lists.linux.dev \
    --cc=luzmaximilian@gmail.com \
    --cc=markgross@kernel.org \
    --cc=platform-driver-x86@vger.kernel.org \
    --cc=srinivas.pandruvada@linux.intel.com \
    --cc=vireshk@kernel.org \
    --cc=wei.liu@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 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.