scripts/kernel-doc: fix fatal error on function prototype
authorRandy Dunlap <randy.dunlap@oracle.com>
Tue, 23 Mar 2010 20:35:24 +0000 (13:35 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 24 Mar 2010 23:31:20 +0000 (16:31 -0700)
commit20072205fcdf7d85cd3101f1f11dfab333c5fd0c
treee20211bdc5fcbf0995cb7430fefba9c890d337c0
parent5e07c2c7301bd2c82e55cf5cbb36f7b5bddeb8e9
scripts/kernel-doc: fix fatal error on function prototype

Fix a fatal error in scripts/kernel-doc when a function signature uses
__init_or_module (just ignore that string):

Error(drivers/base/platform.c:568): cannot understand prototype: 'struct platform_device * __init_or_module platform_create_bundle(struct platform_driver *driver, int (*probe)(struct platform_device *), struct resource *res, unsigned int n_res, const void *data, size_t size) '

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/kernel-doc