summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-alps.c
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2021-03-26 17:34:42 +0300
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>2021-04-07 19:46:20 +0300
commit8802d1546b79296afc3a3ae803c9dc869eb2ad52 (patch)
tree85f3d1d9dc36c8a4766a8575956ec4768682be1b /drivers/hid/hid-alps.c
parentfbe352aa7bbd6160ab9c04eee87dac4f507d958b (diff)
downloadlinux-8802d1546b79296afc3a3ae803c9dc869eb2ad52.tar.xz
HID: hid-alps: Correct struct misnaming
Fixes the following W=1 kernel build warning(s): drivers/hid/hid-alps.c:113: warning: expecting prototype for struct u1_data. Prototype was for struct alps_dev instead Cc: Jiri Kosina <jikos@kernel.org> Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com> Cc: Henrik Rydberg <rydberg@bitmath.org> Cc: Masaki Ota <masaki.ota@jp.alps.com> Cc: linux-input@vger.kernel.org Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Diffstat (limited to 'drivers/hid/hid-alps.c')
-rw-r--r--drivers/hid/hid-alps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/hid-alps.c b/drivers/hid/hid-alps.c
index 3feaece13ade..8b86058f6380 100644
--- a/drivers/hid/hid-alps.c
+++ b/drivers/hid/hid-alps.c
@@ -74,7 +74,7 @@ enum dev_num {
UNKNOWN,
};
/**
- * struct u1_data
+ * struct alps_dev
*
* @input: pointer to the kernel input device
* @input2: pointer to the kernel input2 device