aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/sysinfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sysinfo.h b/include/sysinfo.h
index c045d31..6e02125 100644
--- a/include/sysinfo.h
+++ b/include/sysinfo.h
@@ -31,7 +31,6 @@
* to read the serial number.
*/
-#if CONFIG_IS_ENABLED(SYSINFO)
struct sysinfo_ops {
/**
* detect() - Run the hardware info detection procedure for this
@@ -102,6 +101,7 @@ struct sysinfo_ops {
#define sysinfo_get_ops(dev) ((struct sysinfo_ops *)(dev)->driver->ops)
+#if CONFIG_IS_ENABLED(SYSINFO)
/**
* sysinfo_detect() - Run the hardware info detection procedure for this device.
*