|
@@ -282,6 +282,13 @@ struct driver {
|
|
#define DM_GET_DRIVER(__name) \
|
|
#define DM_GET_DRIVER(__name) \
|
|
ll_entry_get(struct driver, __name, driver)
|
|
ll_entry_get(struct driver, __name, driver)
|
|
|
|
|
|
|
|
+/**
|
|
|
|
+ * Declare a macro to state a alias for a driver name. This macro will
|
|
|
|
+ * produce no code but its information will be parsed by tools like
|
|
|
|
+ * dtoc
|
|
|
|
+ */
|
|
|
|
+#define U_BOOT_DRIVER_ALIAS(__name, __alias)
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* dev_get_platdata() - Get the platform data for a device
|
|
* dev_get_platdata() - Get the platform data for a device
|
|
*
|
|
*
|