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:
f4b87de
)
docbook: make mtd nand module init static
author
H Hartley Sweeten
<
[email protected]
>
Mon, 24 May 2010 00:02:30 +0000
(17:02 -0700)
committer
Linus Torvalds
<
[email protected]
>
Mon, 24 May 2010 14:30:55 +0000
(07:30 -0700)
In the example the module_init function should be static.
Signed-off-by: H Hartley Sweeten <
[email protected]
>
Signed-off-by: Randy Dunlap <
[email protected]
>
Cc: David Woodhouse <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
Documentation/DocBook/mtdnand.tmpl
patch
|
blob
|
history
diff --git
a/Documentation/DocBook/mtdnand.tmpl
b/Documentation/DocBook/mtdnand.tmpl
index 133cd6c3f3c15658986209f65859719d7407aca6..020ac80d4682b0af1ce06fb58c8fa4a2a949ccea 100644
(file)
--- a/
Documentation/DocBook/mtdnand.tmpl
+++ b/
Documentation/DocBook/mtdnand.tmpl
@@
-269,7
+269,7
@@
static void board_hwcontrol(struct mtd_info *mtd, int cmd)
information about the device.
</para>
<programlisting>
-int __init board_init (void)
+
static
int __init board_init (void)
{
struct nand_chip *this;
int err = 0;