projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc924ef
)
spi documentation: use __initdata on struct
author
roel kluin
<
[email protected]
>
Mon, 1 Dec 2008 21:13:51 +0000
(13:13 -0800)
committer
Linus Torvalds
<
[email protected]
>
Tue, 2 Dec 2008 03:55:24 +0000
(19:55 -0800)
Use __initdata for data, not __init.
Signed-off-by: Roel Kluin <
[email protected]
>
Signed-off-by: David Brownell <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
Documentation/spi/spi-summary
patch
|
blob
|
history
diff --git
a/Documentation/spi/spi-summary
b/Documentation/spi/spi-summary
index 8bae2f018d342cf6f027ec5a2dc3ace9ad709bb8..0f5122eb282bad1616b4bff089af95ac35e33a1f 100644
(file)
--- a/
Documentation/spi/spi-summary
+++ b/
Documentation/spi/spi-summary
@@
-215,7
+215,7
@@
So for example arch/.../mach-*/board-*.c files might have code like:
/* if your mach-* infrastructure doesn't support kernels that can
* run on multiple boards, pdata wouldn't benefit from "__init".
*/
- static struct mysoc_spi_data __init pdata = { ... };
+ static struct mysoc_spi_data __init
data
pdata = { ... };
static __init board_init(void)
{