aboutsummaryrefslogtreecommitdiff
path: root/include/dm/devres.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/dm/devres.h')
-rw-r--r--include/dm/devres.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/dm/devres.h b/include/dm/devres.h
index 9c69196..17bb1ee 100644
--- a/include/dm/devres.h
+++ b/include/dm/devres.h
@@ -11,6 +11,10 @@
#ifndef _DM_DEVRES_H
#define _DM_DEVRES_H
+#include <linux/compat.h>
+
+struct udevice;
+
/* device resource management */
typedef void (*dr_release_t)(struct udevice *dev, void *res);
typedef int (*dr_match_t)(struct udevice *dev, void *res, void *match_data);