diff options
author | Jiri Kosina <jkosina@suse.com> | 2023-12-27 12:08:45 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.com> | 2023-12-27 12:08:45 +0100 |
commit | b0a1fe4610de5761a66de0e43540fc3d59638402 (patch) | |
tree | 9fe3a23745ac3a24a4f81fb3186cc2115472836e /drivers/hid/hid-magicmouse.c | |
parent | HID: nintendo: Prevent divide-by-zero on code (diff) | |
download | linux-b0a1fe4610de5761a66de0e43540fc3d59638402.tar.xz linux-b0a1fe4610de5761a66de0e43540fc3d59638402.zip |
HID: magicmouse: fix kerneldoc for struct magicmouse_sc
Description for hdev, work and battery_timer of struct magicmouse_sc were
missing. Fix that.
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202312261056.AmFPDIL5-lkp@intel.com/
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'drivers/hid/hid-magicmouse.c')
-rw-r--r-- | drivers/hid/hid-magicmouse.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/hid/hid-magicmouse.c b/drivers/hid/hid-magicmouse.c index c9c968d4b36a..a46ff4e8b99f 100644 --- a/drivers/hid/hid-magicmouse.c +++ b/drivers/hid/hid-magicmouse.c @@ -120,6 +120,9 @@ MODULE_PARM_DESC(report_undeciphered, "Report undeciphered multi-touch state fie * @scroll_jiffies: Time of last scroll motion. * @touches: Most recent data for a touch, indexed by tracking ID. * @tracking_ids: Mapping of current touch input data to @touches. + * @hdev: Pointer to the underlying HID device. + * @work: Workqueue to handle initialization retry for quirky devices. + * @battery_timer: Timer for obtaining battery level information. */ struct magicmouse_sc { struct input_dev *input; |