]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sparc: Add module.h to files previously implicitly using it.
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 31 Jul 2011 05:50:31 +0000 (01:50 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Tue, 2 Aug 2011 16:38:02 +0000 (12:38 -0400)
commit9339cd4ccc1a590116944930c8690a411df9710f
treee2bac8d9c9c9ea6d1f0390538fded4e0ec92cf57
parentbdef9fe6892fc8a4150a7c0790008ce9504e9779
sparc: Add module.h to files previously implicitly using it.

The file mm/extable.c needs module.h for within_module_init(), and
also for search_exception_tables [which arguably could be living somewhere
more appropriate than module.h] - eventually causing this:

arch/sparc/mm/extable.c: In function 'trim_init_extable':
arch/sparc/mm/extable.c:74: error: dereferencing pointer to incomplete type
arch/sparc/mm/extable.c:75: error: dereferencing pointer to incomplete type
arch/sparc/mm/extable.c:77: error: implicit declaration of function 'within_module_init'
arch/sparc/mm/extable.c:77: error: dereferencing pointer to incomplete type
arch/sparc/mm/extable.c:78: error: dereferencing pointer to incomplete type
arch/sparc/mm/extable.c:80: error: dereferencing pointer to incomplete type
arch/sparc/mm/extable.c: In function 'search_extables_range':
arch/sparc/mm/extable.c:93: error: implicit declaration of function 'search_exception_tables'

The file kernel/pmc.c is using MODULE_DEVICE_TABLE.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
sparc: another implicit module user

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
arch/sparc/kernel/pmc.c
arch/sparc/mm/extable.c