summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/sbi_utils/regmap/fdt_regmap.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/include/sbi_utils/regmap/fdt_regmap.h b/include/sbi_utils/regmap/fdt_regmap.h
index de946f27..a24f7a98 100644
--- a/include/sbi_utils/regmap/fdt_regmap.h
+++ b/include/sbi_utils/regmap/fdt_regmap.h
@@ -10,17 +10,11 @@
#ifndef __FDT_REGMAP_H__
#define __FDT_REGMAP_H__
+#include <sbi_utils/fdt/fdt_driver.h>
#include <sbi_utils/regmap/regmap.h>
struct fdt_phandle_args;
-/** FDT based regmap driver */
-struct fdt_regmap {
- const struct fdt_match *match_table;
- int (*init)(const void *fdt, int nodeoff,
- const struct fdt_match *match);
-};
-
/** Get regmap instance based on phandle */
int fdt_regmap_get_by_phandle(const void *fdt, u32 phandle,
struct regmap **out_rmap);