aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/sensors/adns5050.h
diff options
context:
space:
mode:
authorJoel Challis2025-07-07 17:15:50 +0200
committerGitHub2025-07-07 17:15:50 +0200
commit7827f9fbe369bd9ad6c30c88f36ab53dafbb719d (patch)
tree8acee69b130c7d0dcbafe606340a9905da0a0c8c /drivers/sensors/adns5050.h
parentd9f2d8d241be9ca96a5c7c7fde8de1308a7c5f14 (diff)
Compilation fixes for `-fno-common` (#25436)
Diffstat (limited to 'drivers/sensors/adns5050.h')
-rw-r--r--drivers/sensors/adns5050.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sensors/adns5050.h b/drivers/sensors/adns5050.h
index 004c54f560..648b49e387 100644
--- a/drivers/sensors/adns5050.h
+++ b/drivers/sensors/adns5050.h
@@ -70,7 +70,7 @@ typedef struct {
int8_t dy;
} report_adns5050_t;
-const pointing_device_driver_t adns5050_pointing_device_driver;
+extern const pointing_device_driver_t adns5050_pointing_device_driver;
// A bunch of functions to implement the ADNS5050-specific serial protocol.
// Note that the "serial.h" driver is insufficient, because it does not