aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/templates/meta/driver.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/templates/meta/driver.h')
-rw-r--r--os/hal/templates/meta/driver.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/os/hal/templates/meta/driver.h b/os/hal/templates/meta/driver.h
index b4b07170b..2af95b010 100644
--- a/os/hal/templates/meta/driver.h
+++ b/os/hal/templates/meta/driver.h
@@ -56,6 +56,11 @@ typedef enum {
XXX_READY = 2, /**< Ready. */
} xxxstate_t;
+/**
+ * @brief Type of a structure representing a XXX driver.
+ */
+typedef struct XXXDriver XXXDriver;
+
#include "xxx_lld.h"
/*===========================================================================*/