Skip to content

Commit f181c1a

Browse files
author
Jiri Kosina
committed
HID: intel-thc: make ptl_ddata static
ptl_ddata is local to pci-quicki2c.c, so it'd better be static. Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Signed-off-by: Jiri Kosina <[email protected]>
1 parent 3fdfa1e commit f181c1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/hid/intel-thc-hid/intel-quicki2c/pci-quicki2c.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#include "quicki2c-hid.h"
2222
#include "quicki2c-protocol.h"
2323

24-
struct quicki2c_ddata ptl_ddata = {
24+
static struct quicki2c_ddata ptl_ddata = {
2525
.max_detect_size = MAX_RX_DETECT_SIZE_PTL,
2626
};
2727

0 commit comments

Comments
 (0)