OMAPDSS: register dss drivers in module init
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 19 Mar 2012 13:05:02 +0000 (15:05 +0200)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Wed, 21 Mar 2012 12:55:15 +0000 (12:55 +0000)
commitdc7e57fa80ec5231e33ee2f51f6211c9fb84b9e3
treee9c67d2de2177685281f3e09a075bca0d6ef223d
parentb622f1b538f91ab320838656fc0b31d11a67c5fc
OMAPDSS: register dss drivers in module init

We do the dss driver registration in a rather strange way: we have the
higher level omapdss driver, and we use that driver's probe function to
register the drivers for the rest of the dss devices.

There doesn't seem to be any reason for that, and additionally the
soon-to-be-merged patch "ARM: OMAP: omap_device: remove
omap_device_parent" will break omapdss initialization with the current
registration model.

This patch changes the registration for all drivers to happen at the
same place, in the init of the module.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/omap2/dss/core.c
This page took 0.024833 seconds and 5 git commands to generate.