drivers: i3c: cdns: remove local DIV_ROUND_UP
The definition is already provided by zephyr/sys/util.h. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
3df3aab9d2
commit
6ec50005db
1 changed files with 1 additions and 1 deletions
|
@ -12,6 +12,7 @@
|
||||||
#include <zephyr/logging/log.h>
|
#include <zephyr/logging/log.h>
|
||||||
#include <zephyr/sys/byteorder.h>
|
#include <zephyr/sys/byteorder.h>
|
||||||
#include <zephyr/sys/sys_io.h>
|
#include <zephyr/sys/sys_io.h>
|
||||||
|
#include <zephyr/sys/util.h>
|
||||||
|
|
||||||
#define DEV_ID 0x0
|
#define DEV_ID 0x0
|
||||||
#define DEV_ID_I3C_MASTER 0x5034
|
#define DEV_ID_I3C_MASTER 0x5034
|
||||||
|
@ -365,7 +366,6 @@
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* Local Constants Definition
|
* Local Constants Definition
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
#define DIV_ROUND_UP(n, d) (((n) + (d)-1) / (d))
|
|
||||||
|
|
||||||
/* TODO: this needs to be configurable in the dts...somehow */
|
/* TODO: this needs to be configurable in the dts...somehow */
|
||||||
#define I3C_CONTROLLER_ADDR 0x08
|
#define I3C_CONTROLLER_ADDR 0x08
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue