Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/evbmips/loongson prototypes



details:   https://anonhg.NetBSD.org/src/rev/ed8f893120c3
branches:  trunk
changeset: 773743:ed8f893120c3
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Feb 14 21:42:22 2012 +0000

description:
prototypes

diffstat:

 sys/arch/evbmips/loongson/yeeloong_machdep.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (47 lines):

diff -r 3d802215f3aa -r ed8f893120c3 sys/arch/evbmips/loongson/yeeloong_machdep.c
--- a/sys/arch/evbmips/loongson/yeeloong_machdep.c      Tue Feb 14 21:41:02 2012 +0000
+++ b/sys/arch/evbmips/loongson/yeeloong_machdep.c      Tue Feb 14 21:42:22 2012 +0000
@@ -474,7 +474,7 @@
 }
 
 uint
-lemote_get_isa_imr()
+lemote_get_isa_imr(void)
 {
        uint imr1, imr2;
 
@@ -486,7 +486,7 @@
 }
 
 uint
-lemote_get_isa_isr()
+lemote_get_isa_isr(void)
 {
        uint isr1, isr2 = 0;
 
@@ -502,7 +502,7 @@
  */
 
 void
-fuloong_powerdown()
+fuloong_powerdown(void)
 {
        vaddr_t gpiobase;
 
@@ -514,14 +514,14 @@
 }
 
 void
-yeeloong_powerdown()
+yeeloong_powerdown(void)
 {
        REGVAL(BONITO_GPIODATA) &= ~0x00000001;
        REGVAL(BONITO_GPIOIE) &= ~0x00000001;
 }
 
 void
-lemote_reset()
+lemote_reset(void)
 {
        wrmsr(GCSC_GLCP_SYS_RST, rdmsr(GCSC_GLCP_SYS_RST) | 1);
 }



Home | Main Index | Thread Index | Old Index