]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[WATCHDOG] make watchdog/hpwdt.c:asminline_call() static
authorAdrian Bunk <bunk@kernel.org>
Fri, 22 Feb 2008 19:58:02 +0000 (21:58 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Thu, 6 Mar 2008 21:32:21 +0000 (21:32 +0000)
This patch makes the needlessly global asminline_call() static and
removes the not required "asmlinkage".

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Acked-by: Thomas Mingarelli <Thomas.Mingarelli@hp.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Cc: Andrew Morton <akpm@linux-foundation.org>
drivers/watchdog/hpwdt.c

index 2686f3eaeedf4c07f56eeafe21725977cd1a1ddc..6483d1066b95e7feb967a0c77925381302eae61c 100644 (file)
@@ -145,8 +145,8 @@ MODULE_DEVICE_TABLE(pci, hpwdt_devices);
 
 #define HPWDT_ARCH     32
 
-asmlinkage void asminline_call(struct cmn_registers *pi86Regs,
-                              unsigned long *pRomEntry)
+static void asminline_call(struct cmn_registers *pi86Regs,
+                          unsigned long *pRomEntry)
 {
        asm("pushl       %ebp               \n\t"
            "movl        %esp, %ebp         \n\t"
@@ -333,8 +333,8 @@ static int __devinit detect_cru_service(void)
 
 #define HPWDT_ARCH     64
 
-asmlinkage void asminline_call(struct cmn_registers *pi86Regs,
-                              unsigned long *pRomEntry)
+static void asminline_call(struct cmn_registers *pi86Regs,
+                          unsigned long *pRomEntry)
 {
        asm("pushq      %rbp            \n\t"
            "movq       %rsp, %rbp      \n\t"