doc: Update driver documentation to reflect const config_info.

Change-Id: I85edb0b853a38f2093ea2dc0f7fc53a39010c2d2
Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
This commit is contained in:
Marcus Shawcroft 2016-10-21 09:07:12 +01:00
parent 026b4ed4e2
commit a3ed215b49

View file

@ -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;
}