]> git.baikalelectronics.ru Git - kernel.git/commit
drm: omapdrm: sdi: Allocate the sdi private data structure dynamically
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 13 Feb 2018 12:00:47 +0000 (14:00 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 1 Mar 2018 07:18:18 +0000 (09:18 +0200)
commit54fb8348d8a6190300fcab8b8ef6e9d1d14e327c
tree085c6cfc88b780bfb30e2e52f13852a973ef796d
parent46e783a9ed441c0d052a9121b022243083fa82da
drm: omapdrm: sdi: Allocate the sdi private data structure dynamically

The sdi private data structure is currently stored as a global
variable. While no platform with multiple SDI encoders currently exists
nor is planned, this doesn't comply with the kernel device model and
should thus be fixed.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
drivers/gpu/drm/omapdrm/dss/sdi.c