lkml.org 
[lkml]   [2004]   [Jul]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH 462] m68k sparse missing void
M68k: Add missing `void' parameters (found by sparse)

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>

--- linux-2.6.8-rc2/arch/m68k/bvme6000/config.c 2004-04-27 20:46:00.000000000 +0200
+++ linux-m68k-2.6.8-rc2/arch/m68k/bvme6000/config.c 2004-07-10 21:06:54.000000000 +0200
@@ -70,7 +70,7 @@
return 1;
}

-void bvme6000_reset()
+void bvme6000_reset(void)
{
volatile PitRegsPtr pit = (PitRegsPtr)BVME_PIT_BASE;

--- linux-2.6.8-rc2/arch/m68k/mvme147/config.c 2004-05-24 11:13:22.000000000 +0200
+++ linux-m68k-2.6.8-rc2/arch/m68k/mvme147/config.c 2004-07-10 21:06:54.000000000 +0200
@@ -69,7 +69,7 @@
return 1;
}

-void mvme147_reset()
+void mvme147_reset(void)
{
printk ("\r\n\nCalled mvme147_reset\r\n");
m147_pcc->watchdog = 0x0a; /* Clear timer */
--- linux-2.6.8-rc2/arch/m68k/mvme16x/config.c 2004-04-27 20:46:00.000000000 +0200
+++ linux-m68k-2.6.8-rc2/arch/m68k/mvme16x/config.c 2004-07-10 21:06:54.000000000 +0200
@@ -75,7 +75,7 @@
return 1;
}

-void mvme16x_reset()
+void mvme16x_reset(void)
{
printk ("\r\n\nCalled mvme16x_reset\r\n"
"\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r");
--- linux-2.6.8-rc2/arch/m68k/q40/config.c 2004-05-24 11:13:22.000000000 +0200
+++ linux-m68k-2.6.8-rc2/arch/m68k/q40/config.c 2004-07-10 21:06:54.000000000 +0200
@@ -123,7 +123,7 @@
}
#endif

-void q40_reset()
+void q40_reset(void)
{
halted=1;
printk ("\n\n*******************************************\n"
@@ -132,7 +132,7 @@
Q40_LED_ON();
while(1) ;
}
-void q40_halt()
+void q40_halt(void)
{
halted=1;
printk ("\n\n*******************\n"
@@ -296,7 +297,7 @@
return 0;
}

-unsigned int q40_get_ss()
+unsigned int q40_get_ss(void)
{
return bcd2bin(Q40_RTC_SECS);
}
--- linux-2.6.8-rc2/drivers/macintosh/via-pmu68k.c 2004-04-27 20:47:20.000000000 +0200
+++ linux-m68k-2.6.8-rc2/drivers/macintosh/via-pmu68k.c 2004-07-10 21:06:54.000000000 +0200
@@ -177,7 +177,7 @@
/*f8*/ {-1,-1},{-1,-1},{-1,-1},{-1,-1},{-1,-1},{-1,-1},{-1,-1},{-1,-1},
};

-int pmu_probe()
+int pmu_probe(void)
{
if (macintosh_config->adb_type == MAC_ADB_PB1) {
pmu_kind = PMU_68K_V1;
@@ -521,7 +521,7 @@
}

static void
-recv_byte()
+recv_byte(void)
{
char c;

@@ -531,7 +531,7 @@
}

static void
-pmu_start()
+pmu_start(void)
{
unsigned long flags;
struct adb_request *req;
@@ -556,7 +556,7 @@
}

void
-pmu_poll()
+pmu_poll(void)
{
unsigned long flags;

Gr{oetje,eeting}s,
Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:04    [W:0.046 / U:0.320 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site