1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

Add the missing void to function signatures in much of the arm code.

Sponsored by:	ABT Systems Ltd
This commit is contained in:
Andrew Turner 2016-12-13 13:43:22 +00:00
parent 3f31908a97
commit 59249a516a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=310021
22 changed files with 36 additions and 36 deletions

View File

@ -237,7 +237,7 @@ aw_wdog_shutdown_fn(void *private, int howto)
}
void
aw_wdog_watchdog_reset()
aw_wdog_watchdog_reset(void)
{
if (aw_wdog_sc == NULL) {

View File

@ -87,7 +87,7 @@ static const struct {
};
void
aml8726_identify_soc()
aml8726_identify_soc(void)
{
int err;
struct resource res;

View File

@ -56,7 +56,7 @@ vm_offset_t aml8726_aobus_kva_base;
#endif
static void
aml8726_fixup_busfreq()
aml8726_fixup_busfreq(void)
{
phandle_t node;
pcell_t freq, prop;

View File

@ -289,7 +289,7 @@ EARLY_DRIVER_MODULE(wdt, simplebus, aml8726_wdt_driver, aml8726_wdt_devclass,
0, 0, BUS_PASS_INTERRUPT + BUS_PASS_ORDER_LATE);
void
cpu_reset()
cpu_reset(void)
{
/* Watchdog has not yet been initialized */

View File

@ -485,7 +485,7 @@ static int arm_dcache_l2_assoc;
static int arm_dcache_l2_linesize;
static void
get_cachetype_cp15()
get_cachetype_cp15(void)
{
u_int ctype, isize, dsize, cpuid;
u_int clevel, csize, i, sel;
@ -600,7 +600,7 @@ get_cachetype_cp15()
*/
int
set_cpufuncs()
set_cpufuncs(void)
{
cputype = cpu_ident();
cputype &= CPU_ID_CPU_MASK;

View File

@ -130,7 +130,7 @@ db_stack_trace_cmd(struct unwind_state *state)
}
void
db_md_list_watchpoints()
db_md_list_watchpoints(void)
{
dbg_show_watchpoint();

View File

@ -145,7 +145,7 @@ physmem_dump_tables(int (*prfunc)(const char *, ...))
* Print the contents of the static mapping table. Used for bootverbose.
*/
void
arm_physmem_print_tables()
arm_physmem_print_tables(void)
{
physmem_dump_tables(printf);

View File

@ -165,7 +165,7 @@ gdb_trapper(u_int addr, u_int insn, struct trapframe *frame, int code)
static struct undefined_handler gdb_uh;
void
undefined_init()
undefined_init(void)
{
int loop;

View File

@ -190,7 +190,7 @@ bcmwd_watchdog_fn(void *private, u_int cmd, int *error)
}
void
bcmwd_watchdog_reset()
bcmwd_watchdog_reset(void)
{
if (bcmwd_lsc == NULL)

View File

@ -776,7 +776,7 @@ imx6_anatop_probe(device_t dev)
}
uint32_t
imx6_get_cpu_clock()
imx6_get_cpu_clock(void)
{
uint32_t corediv, plldiv;

View File

@ -70,7 +70,7 @@ WR4(struct src_softc *sc, bus_size_t off, uint32_t val)
}
int
src_reset_ipu()
src_reset_ipu(void)
{
uint32_t reg;
int timeout = 10000;

View File

@ -518,7 +518,7 @@ lpc_gpio_get_state(device_t dev, int pin, int *state)
}
void
lpc_gpio_init()
lpc_gpio_init(void)
{
bus_space_tag_t bst;
bus_space_handle_t bsh;

View File

@ -236,7 +236,7 @@ tegra_fuse_read_4(int addr) {
static void
tegra_efuse_dump_sku()
tegra_efuse_dump_sku(void)
{
printf(" TEGRA SKU Info:\n");
printf(" chip_id: %u\n", tegra_sku_info.chip_id);

View File

@ -170,7 +170,7 @@ rk30_wd_watchdog_fn(void *private, u_int cmd, int *error)
}
void
rk30_wd_watchdog_reset()
rk30_wd_watchdog_reset(void)
{
bus_space_handle_t bsh;

View File

@ -163,7 +163,7 @@ dmtpps_translate_nickname(const char *nick)
* fails that IS an error, return -1.
*/
static int
dmtpps_find_tmr_num_by_tunable()
dmtpps_find_tmr_num_by_tunable(void)
{
struct padinfo *pi;
char iname[20];
@ -201,7 +201,7 @@ dmtpps_find_tmr_num_by_tunable()
* input pin. If so, return the timer number, if not return 0.
*/
static int
dmtpps_find_tmr_num_by_padconf()
dmtpps_find_tmr_num_by_padconf(void)
{
int err;
unsigned int padstate;
@ -225,7 +225,7 @@ dmtpps_find_tmr_num_by_padconf()
* configuration. This is done just once, the first time probe() runs.
*/
static int
dmtpps_find_tmr_num()
dmtpps_find_tmr_num(void)
{
int tmr_num;

View File

@ -100,7 +100,7 @@ platform_devmap_init(void)
}
void
cpu_reset()
cpu_reset(void)
{
printf("cpu_reset\n");
while (1);

View File

@ -91,7 +91,7 @@ platform_devmap_init(void)
}
void
cpu_reset()
cpu_reset(void)
{
if (zynq7_cpu_reset != NULL)
(*zynq7_cpu_reset)();

View File

@ -496,7 +496,7 @@ zy7_pl_fclk_enabled(int unit)
}
int
zy7_pl_level_shifters_enabled()
zy7_pl_level_shifters_enabled(void)
{
struct zy7_slcr_softc *sc = zy7_slcr_softc_p;
@ -513,7 +513,7 @@ zy7_pl_level_shifters_enabled()
}
void
zy7_pl_level_shifters_enable()
zy7_pl_level_shifters_enable(void)
{
struct zy7_slcr_softc *sc = zy7_slcr_softc_p;
@ -528,7 +528,7 @@ zy7_pl_level_shifters_enable()
}
void
zy7_pl_level_shifters_disable()
zy7_pl_level_shifters_disable(void)
{
struct zy7_slcr_softc *sc = zy7_slcr_softc_p;

View File

@ -331,7 +331,7 @@ pxa_gpio_unmask_irq(int irq)
}
int
pxa_gpio_get_next_irq()
pxa_gpio_get_next_irq(void)
{
struct pxa_gpio_softc *sc;
int gpio;

View File

@ -171,7 +171,7 @@ arm_unmask_irq(uintptr_t nb)
}
uint32_t
pxa_icu_get_icip()
pxa_icu_get_icip(void)
{
return (bus_space_read_4(pxa_icu_softc->pi_bst,
@ -187,7 +187,7 @@ pxa_icu_clear_icip(int irq)
}
uint32_t
pxa_icu_get_icfp()
pxa_icu_get_icfp(void)
{
return (bus_space_read_4(pxa_icu_softc->pi_bst,
@ -203,7 +203,7 @@ pxa_icu_clear_icfp(int irq)
}
uint32_t
pxa_icu_get_icmr()
pxa_icu_get_icmr(void)
{
return (bus_space_read_4(pxa_icu_softc->pi_bst,
@ -219,7 +219,7 @@ pxa_icu_set_icmr(uint32_t val)
}
uint32_t
pxa_icu_get_iclr()
pxa_icu_get_iclr(void)
{
return (bus_space_read_4(pxa_icu_softc->pi_bst,
@ -235,7 +235,7 @@ pxa_icu_set_iclr(uint32_t val)
}
uint32_t
pxa_icu_get_icpr()
pxa_icu_get_icpr(void)
{
return (bus_space_read_4(pxa_icu_softc->pi_bst,
@ -243,7 +243,7 @@ pxa_icu_get_icpr()
}
void
pxa_icu_idle_enable()
pxa_icu_idle_enable(void)
{
bus_space_write_4(pxa_icu_softc->pi_bst,
@ -251,7 +251,7 @@ pxa_icu_idle_enable()
}
void
pxa_icu_idle_disable()
pxa_icu_idle_disable(void)
{
bus_space_write_4(pxa_icu_softc->pi_bst,

View File

@ -176,7 +176,7 @@ bus_space_tag_t base_tag = &_base_tag;
bus_space_tag_t obio_tag = NULL;
void
pxa_obio_tag_init()
pxa_obio_tag_init(void)
{
bcopy(&_base_tag, &_obio_tag, sizeof(struct bus_space));

View File

@ -235,7 +235,7 @@ pxa_timer_set_osmr(int which, uint32_t val)
}
uint32_t
pxa_timer_get_oscr()
pxa_timer_get_oscr(void)
{
return (bus_space_read_4(timer_softc->pt_bst,
@ -251,7 +251,7 @@ pxa_timer_set_oscr(uint32_t val)
}
uint32_t
pxa_timer_get_ossr()
pxa_timer_get_ossr(void)
{
return (bus_space_read_4(timer_softc->pt_bst,
@ -267,7 +267,7 @@ pxa_timer_clear_ossr(uint32_t val)
}
void
pxa_timer_watchdog_enable()
pxa_timer_watchdog_enable(void)
{
bus_space_write_4(timer_softc->pt_bst,
@ -275,7 +275,7 @@ pxa_timer_watchdog_enable()
}
void
pxa_timer_watchdog_disable()
pxa_timer_watchdog_disable(void)
{
bus_space_write_4(timer_softc->pt_bst,