commit | 8b20c25842c9db2b0146b6b4a51a13230473fd8d | [log] [tgz] |
---|---|---|
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | Mon Aug 07 20:04:13 2017 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Dec 01 09:44:23 2018 +0100 |
tree | 0af2a5257ebbfa61d433101ef9be0c53f5bed5e8 | |
parent | 70f356afc4651f0c77aacb3eb1b248f4ce072788 [diff] |
Input: xpad - constify usb_device_id [ Upstream commit 94aef061c796d3d47f1a2eed41e651ffaaade402 ] usb_device_id are not supposed to change at runtime. All functions working with usb_device_id provided by <linux/usb.h> work with const usb_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Sasha Levin <sashal@kernel.org>