mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-02-02 17:41:07 +02:00
suppress warnings.
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3983 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
7115f246b7
commit
1b28bb7ede
@ -99,7 +99,7 @@ void (*set_dmz)(u8 state);
|
|||||||
|
|
||||||
static unsigned int diag = 0;
|
static unsigned int diag = 0;
|
||||||
|
|
||||||
static void diag_change()
|
static void diag_change(void)
|
||||||
{
|
{
|
||||||
set_diag(0xFF); // off
|
set_diag(0xFF); // off
|
||||||
set_dmz(0xFF); // off
|
set_dmz(0xFF); // off
|
||||||
@ -166,11 +166,11 @@ static ctl_table sys_diag[] = {
|
|||||||
{ 0 }
|
{ 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
static int __init diag_init()
|
static int __init diag_init(void)
|
||||||
{
|
{
|
||||||
char *buf;
|
char *buf;
|
||||||
u32 board_type;
|
u32 board_type;
|
||||||
sbh = sb_kattach();
|
sbh = (void *)sb_kattach();
|
||||||
sb_gpiosetcore(sbh);
|
sb_gpiosetcore(sbh);
|
||||||
|
|
||||||
board_type = sb_boardtype(sbh);
|
board_type = sb_boardtype(sbh);
|
||||||
@ -255,7 +255,7 @@ static int __init diag_init()
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void __exit diag_exit()
|
static void __exit diag_exit(void)
|
||||||
{
|
{
|
||||||
unregister_sysctl_table(diag_sysctl_header);
|
unregister_sysctl_table(diag_sysctl_header);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user