aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/sensors/pmw33xx_common.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/pmw33xx_common.h
parentd9f2d8d241be9ca96a5c7c7fde8de1308a7c5f14 (diff)
Compilation fixes for `-fno-common` (#25436)
Diffstat (limited to 'drivers/sensors/pmw33xx_common.h')
-rw-r--r--drivers/sensors/pmw33xx_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sensors/pmw33xx_common.h b/drivers/sensors/pmw33xx_common.h
index 8fb10b1b2f..ff890f49a9 100644
--- a/drivers/sensors/pmw33xx_common.h
+++ b/drivers/sensors/pmw33xx_common.h
@@ -106,7 +106,7 @@ STATIC_ASSERT(sizeof((pmw33xx_report_t){0}.motion) == 1, "pmw33xx_report_t.motio
#define pmw3360_pointing_device_driver pmw33xx_pointing_device_driver;
#define pmw3389_pointing_device_driver pmw33xx_pointing_device_driver;
-const pointing_device_driver_t pmw33xx_pointing_device_driver;
+extern const pointing_device_driver_t pmw33xx_pointing_device_driver;
/**
* @brief Initializes the given sensor so it is in a working state and ready to