Commit 49f5cae2 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Linus Torvalds

[PATCH] m68k sparse missing void

M68k: Add missing `void' parameters (found by sparse)
Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 9513f1f8
......@@ -70,7 +70,7 @@ int bvme6000_parse_bootinfo(const struct bi_record *bi)
return 1;
}
void bvme6000_reset()
void bvme6000_reset(void)
{
volatile PitRegsPtr pit = (PitRegsPtr)BVME_PIT_BASE;
......
......@@ -69,7 +69,7 @@ int mvme147_parse_bootinfo(const struct bi_record *bi)
return 1;
}
void mvme147_reset()
void mvme147_reset(void)
{
printk ("\r\n\nCalled mvme147_reset\r\n");
m147_pcc->watchdog = 0x0a; /* Clear timer */
......
......@@ -75,7 +75,7 @@ int mvme16x_parse_bootinfo(const struct bi_record *bi)
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");
......
......@@ -122,7 +122,7 @@ static void q40_heartbeat(int on)
}
#endif
void q40_reset()
void q40_reset(void)
{
halted=1;
printk ("\n\n*******************************************\n"
......@@ -131,7 +131,7 @@ void q40_reset()
Q40_LED_ON();
while(1) ;
}
void q40_halt()
void q40_halt(void)
{
halted=1;
printk ("\n\n*******************\n"
......@@ -295,7 +295,7 @@ int q40_hwclk(int op, struct rtc_time *t)
return 0;
}
unsigned int q40_get_ss()
unsigned int q40_get_ss(void)
{
return bcd2bin(Q40_RTC_SECS);
}
......
......@@ -177,7 +177,7 @@ static s8 pmu_data_len[256][2] = {
/*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 @@ send_byte(int x)
}
static void
recv_byte()
recv_byte(void)
{
char c;
......@@ -531,7 +531,7 @@ recv_byte()
}
static void
pmu_start()
pmu_start(void)
{
unsigned long flags;
struct adb_request *req;
......@@ -556,7 +556,7 @@ pmu_start()
}
void
pmu_poll()
pmu_poll(void)
{
unsigned long flags;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment