m68k: Mark functions only called from setup_arch() __init

Some functions that are only called (indirectly) from setup_arch() lack
__init annotations.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Este commit está contenido en:
Geert Uytterhoeven
2013-06-25 21:15:24 +02:00
padre 6ce4eac1f6
commit a4df02a217
Se han modificado 12 ficheros con 22 adiciones y 21 borrados

Ver fichero

@@ -1,3 +1,4 @@
#include <linux/init.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/mm.h>
@@ -43,8 +44,8 @@ static const char *apollo_models[] = {
[APOLLO_DN4500-APOLLO_DN3000] = "DN4500 (Roadrunner)"
};
int apollo_parse_bootinfo(const struct bi_record *record) {
int __init apollo_parse_bootinfo(const struct bi_record *record)
{
int unknown = 0;
const unsigned long *data = record->data;
@@ -60,9 +61,8 @@ int apollo_parse_bootinfo(const struct bi_record *record) {
return unknown;
}
void dn_setup_model(void) {
static void __init dn_setup_model(void)
{
printk("Apollo hardware found: ");
printk("[%s]\n", apollo_models[apollo_model - APOLLO_DN3000]);