Skip to content

Commit

Permalink
drivers: microchip_pit: fix the path of "dt_driver.h" included
Browse files Browse the repository at this point in the history
change "#include <dt_driver.h>" to "#include <kernel/dt_driver.h>" due to
"dt_driver.h" is located at "core/include/kernel/" and the path is not in
the include pathes which would cause compile errors.

Signed-off-by: Tony Han <[email protected]>
  • Loading branch information
TonyHan11 committed Jan 7, 2025
1 parent 7960ff3 commit 4a10495
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/drivers/microchip_pit.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include <assert.h>
#include <drivers/clk.h>
#include <drivers/clk_dt.h>
#include <dt_driver.h>
#include <kernel/dt_driver.h>
#include <string.h>

#define MCHP_PIT64B_FREQ UL(5000000) /* 5 MHz */
Expand Down

0 comments on commit 4a10495

Please sign in to comment.