]> git.baikalelectronics.ru Git - kernel.git/commit
radeon: Conditionally compile PM code
authorThierry Reding <thierry.reding@gmail.com>
Wed, 18 Sep 2013 12:48:32 +0000 (14:48 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 20 Sep 2013 09:14:26 +0000 (12:14 +0300)
commitbb0b795881d9a30e7675ab16a659a9be0c5d7ae0
tree018328eafc0cea59721eb75baf59670c3048174f
parent22cd45415e563143d81b810c4957758a1f7c9517
radeon: Conditionally compile PM code

The power management code is only used on X86 and PowerMac. To prevent
the compiler from warning about unused code, only build when PM and one
of X86 or PowerMac is selected.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/aty/radeon_pm.c