diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-12-20 10:38:47 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.com> | 2024-01-02 13:25:28 +0300 |
commit | c4a9743699f3b093bad4bcc472c4ee34c7929f33 (patch) | |
tree | e5e5e3f77a863d15ff5a26ddec2e3bf91bcbc365 /drivers/hid/surface-hid/Kconfig | |
parent | 37d158d0b05144f696323ae5bbfe1e137f7c06d3 (diff) | |
download | linux-c4a9743699f3b093bad4bcc472c4ee34c7929f33.tar.xz |
HID: make ishtp_cl_bus_type const
Now that the driver core can properly handle constant struct bus_type,
move the ishtp_cl_bus_type variable to be a constant structure as well,
placing it into read-only memory which can not be modified at runtime.
Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Cc: Jiri Kosina <jikos@kernel.org>
Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Cc: linux-input@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'drivers/hid/surface-hid/Kconfig')
0 files changed, 0 insertions, 0 deletions