[PATCH v3 2/3] drm/mipi-dbi: Add driver_private member to struct mipi_dbi_dev

Maxime Ripard maxime at cerno.tech
Fri Feb 11 13:28:11 UTC 2022


On Fri, Feb 11, 2022 at 02:04:33PM +0100, Noralf Trønnes wrote:
> devm_drm_dev_alloc() can't allocate structures that embed a structure
> which then again embeds drm_device. Workaround this by adding a
> driver_private pointer to struct mipi_dbi_dev which the driver can use for
> its additional state.
> 
> v3:
> - Add documentation
> 
> Signed-off-by: Noralf Trønnes <noralf at tronnes.org>

Acked-by: Maxime Ripard <maxime at cerno.tech>

Maxime
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20220211/7a7dd8ae/attachment.sig>


More information about the dri-devel mailing list