Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

spi/documentation: Fix usage of __initdata

__initdata should be placed between the variable name and equal
sign for the variable to be placed in the intended section. Fix
the example code.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Rob Landley <rob@landley.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>

authored by

Sachin Kamat and committed by
Jiri Kosina
5f5e39a1 c96bd350

+1 -1
+1 -1
Documentation/spi/spi-summary
··· 215 215 /* if your mach-* infrastructure doesn't support kernels that can 216 216 * run on multiple boards, pdata wouldn't benefit from "__init". 217 217 */ 218 - static struct mysoc_spi_data __initdata pdata = { ... }; 218 + static struct mysoc_spi_data pdata __initdata = { ... }; 219 219 220 220 static __init board_init(void) 221 221 {