summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMarcus Shawcroft <marcus.shawcroft@arm.com>2016-10-21 09:07:12 +0100
committerMarcus Shawcroft <marcus.shawcroft@arm.com>2016-10-21 09:13:55 +0100
commita3ed215b492a05457a519553d2e806371275c1c4 (patch)
treea4cac9e54736394102b5bfb327ae8753d338542a /doc
parent026b4ed4e22a7754b4a23677b4d44b1779dca2b2 (diff)
doc: Update driver documentation to reflect const config_info.
Change-Id: I85edb0b853a38f2093ea2dc0f7fc53a39010c2d2 Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/drivers/drivers.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/drivers/drivers.rst b/doc/drivers/drivers.rst
index 90293af5b..e63a58226 100644
--- a/doc/drivers/drivers.rst
+++ b/doc/drivers/drivers.rst
@@ -282,7 +282,7 @@ Then when the particular instance is declared:
DEVICE_GET(my_driver_0), MY_DRIVER_0_FLAGS);
}
- static struct my_driver_config my_driver_config_0 = {
+ const static struct my_driver_config my_driver_config_0 = {
.base_addr = MY_DRIVER_0_BASE_ADDR;
.config_func = my_driver_config_irq_0;
}