]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ARM: tegra: Provide dummy powergate implementation
authorThierry Reding <thierry.reding@gmail.com>
Mon, 25 Nov 2013 18:49:47 +0000 (11:49 -0700)
committerOlof Johansson <olof@lixom.net>
Mon, 25 Nov 2013 21:34:51 +0000 (13:34 -0800)
commit9886e1fd096b8004a25bb8b7e5690ad1408ebc6f
tree6e3724887b6557ffc32f3d588b10c5b2e437cf85
parent5c1f34c42d601908b6491ded11beab83ec9b5f8a
ARM: tegra: Provide dummy powergate implementation

In order to support increased build test coverage for drivers, implement
dummies for the powergate implementation. This will allow the drivers to
be built without requiring support for Tegra to be selected.

This patch solves the following build errors, which can be triggered in
v3.13-rc1 by selecting DRM_TEGRA without ARCH_TEGRA:

drivers/built-in.o: In function `gr3d_remove':
drivers/gpu/drm/tegra/gr3d.c:321: undefined reference to `tegra_powergate_power_off'
drivers/gpu/drm/tegra/gr3d.c:325: undefined reference to `tegra_powergate_power_off'
drivers/built-in.o: In function `gr3d_probe':
drivers/gpu/drm/tegra/gr3d.c:266: undefined reference to `tegra_powergate_sequence_power_up'
drivers/gpu/drm/tegra/gr3d.c:273: undefined reference to `tegra_powergate_sequence_power_up'

Signed-off-by: Thierry Reding <treding@nvidia.com>
[swarren, updated commit description]
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
include/linux/tegra-powergate.h