drivers: timer: Explicitly setting argument as unused
Marking as unused (ARG_UNUSED) the parameter device in the initialization function z_clock_driver_init when it is not used. Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
parent
fb88b0aafc
commit
e1e4a402e2
6 changed files with 12 additions and 0 deletions
|
@ -121,6 +121,8 @@ int z_clock_driver_init(struct device *device)
|
|||
extern int z_clock_hw_cycles_per_sec;
|
||||
uint32_t hz;
|
||||
|
||||
ARG_UNUSED(device);
|
||||
|
||||
DEVICE_MMIO_TOPLEVEL_MAP(hpet_regs, K_MEM_CACHE_NONE);
|
||||
|
||||
IRQ_CONNECT(DT_INST_IRQN(0),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue