m68k sparse missing void
Subsystems (3)
Geert Uytterhoeven
maintainerPATCH 1/1 m68k sparse missing void
M68k: Add missing `void' parameters (found by sparse)
Signed-off-by Geert Uytterhoeven <[email protected]>
arch/m68k/bvme6000/config.c +1 -1
@@ -70,7 +70,7 @@return 1 ; } -void bvme6000_reset () +void bvme6000_reset (void ) {volatile PitRegsPtr pit = (PitRegsPtr )BVME_PIT_BASE ;
arch/m68k/mvme147/config.c +1 -1
@@ -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 */
arch/m68k/mvme16x/config.c +1 -1
@@ -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" );
arch/m68k/q40/config.c +3 -3
@@ -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 ); }
drivers/macintosh/via-pmu68k.c +4 -4
@@ -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 -- [email protected]
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