mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 22:51:35 +00:00
Input: elantech - annotate fall-through case in elantech_use_host_notify()
This avoids a warning when building with -Wimplicit-fallthrough.
Fixes: 883a2a80f7
("Input: elantech - enable SMBus on new (2018+) systems")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
parent
883a2a80f7
commit
f3b5720cab
@ -1842,6 +1842,7 @@ static bool elantech_use_host_notify(struct psmouse *psmouse,
|
||||
/* SMbus implementation is stable since 2018 */
|
||||
if (dmi_get_bios_year() >= 2018)
|
||||
return true;
|
||||
/* fall through */
|
||||
default:
|
||||
psmouse_dbg(psmouse,
|
||||
"Ignoring SMBus bus provider %d\n", info->bus);
|
||||
|
Loading…
Reference in New Issue
Block a user