OSDN Git Service

drm/tegra: add MODULE_DEVICE_TABLEs
authorStephen Warren <swarren@nvidia.com>
Wed, 18 Jun 2014 22:21:55 +0000 (16:21 -0600)
committerThierry Reding <treding@nvidia.com>
Mon, 4 Aug 2014 08:07:39 +0000 (10:07 +0200)
commitef70728c7a6571a1a7115031e932b811f1740b2e
tree23143137cf59f0f3df94d9a2d3a5f9ffe656ff3e
parent5482d75a6597de97f79255a257c486a6960c6c65
drm/tegra: add MODULE_DEVICE_TABLEs

When tegra-drm.ko is built as a module, these MODULE_DEVICE_TABLEs allow
the module to be auto-loaded since the module will match the devices
instantiated from device tree.

(Notes for stable: in 3.14+, just git rm any conflicting file, since they
are added in later kernels. For 3.13 and below, manual merging will be
needed)

Cc: <stable@vger.kernel.org>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/dc.c
drivers/gpu/drm/tegra/dpaux.c
drivers/gpu/drm/tegra/dsi.c
drivers/gpu/drm/tegra/gr2d.c
drivers/gpu/drm/tegra/gr3d.c
drivers/gpu/drm/tegra/hdmi.c
drivers/gpu/drm/tegra/sor.c