]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: Do not mark function prototypes as __init
authorTony Lindgren <tony@atomide.com>
Wed, 4 Jun 2008 00:44:40 +0000 (17:44 -0700)
committerTony Lindgren <tony@atomide.com>
Wed, 4 Jun 2008 00:44:40 +0000 (17:44 -0700)
Also don't include common headers from omap headers

Signed-off-by: Tony Lindgren <tony@atomide.com>
include/asm-arm/arch-omap/cpu.h

index fd1155e396aa826a86ba7aba6fa18a2b3d71b62e..33f26e93f5f87184bec5b3a098f72e8e1f8502ef 100644 (file)
@@ -26,8 +26,6 @@
 #ifndef __ASM_ARCH_OMAP_CPU_H
 #define __ASM_ARCH_OMAP_CPU_H
 
-#include <linux/init.h>
-
 struct omap_chip_id {
        u8 oc;
 };
@@ -402,7 +400,7 @@ int omap_chip_is(struct omap_chip_id oci);
 #define is_device_type_gp()    (get_device_type() == DEVICE_TYPE_GP)
 #define is_device_type_bad()   (get_device_type() == DEVICE_TYPE_BAD)
 
-void __init omap2_check_revision(void);
+void omap2_check_revision(void);
 
 #endif    /* defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP3) */