Skip to content

Commit 0af76d9

Browse files
bigguinesstorvalds
authored andcommitted
docbook: make mtd nand module init static
In the example the module_init function should be static. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Cc: David Woodhouse <dwmw2@infradead.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent f4b87de commit 0af76d9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Documentation/DocBook/mtdnand.tmpl‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ static void board_hwcontrol(struct mtd_info *mtd, int cmd)
269269
information about the device.
270270
</para>
271271
<programlisting>
272-
int __init board_init (void)
272+
static int __init board_init (void)
273273
{
274274
struct nand_chip *this;
275275
int err = 0;

0 commit comments

Comments
 (0)