void *addr; /**< Virtual address, NULL when not mapped. */
};
-/* Forward declaration */
-struct rte_driver;
+/**
+ * A structure describing a device driver.
+ */
+struct rte_driver {
+ TAILQ_ENTRY(rte_driver) next; /**< Next in list. */
+ const char *name; /**< Driver name. */
+ const char *alias; /**< Driver alias. */
+};
/**
* A structure describing a generic device.
struct rte_devargs *devargs; /**< Device user arguments */
};
-/**
- * A structure describing a device driver.
- */
-struct rte_driver {
- TAILQ_ENTRY(rte_driver) next; /**< Next in list. */
- const char *name; /**< Driver name. */
- const char *alias; /**< Driver alias. */
-};
-
/**
* Initialize a driver specified by name.
*