drm/dsi: Add uevent callback
Implement a uevent callback for devices on the MIPI DSI bus. This callback will append MODALIAS information to the uevent and allow modules to be loaded when devices are added to the bus. Reviewed-by: Archit Taneja <architt@codeaurora.org> Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
@@ -180,6 +180,8 @@ struct mipi_dsi_device {
|
||||
unsigned long mode_flags;
|
||||
};
|
||||
|
||||
#define MIPI_DSI_MODULE_PREFIX "mipi-dsi:"
|
||||
|
||||
static inline struct mipi_dsi_device *to_mipi_dsi_device(struct device *dev)
|
||||
{
|
||||
return container_of(dev, struct mipi_dsi_device, dev);
|
||||
|
Reference in New Issue
Block a user