Re: [PATCH] radeon: Conditionally compile PM code

2013-09-20 Thread Tomi Valkeinen
On 18/09/13 15:48, Thierry Reding wrote: > 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 Thanks, applied for 3.13. Tomi

Re: [PATCH] radeon: Conditionally compile PM code

2013-09-20 Thread Tomi Valkeinen
On 18/09/13 15:48, Thierry Reding wrote: 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 tred...@nvidia.com Thanks, applied for 3.13.

[PATCH] radeon: Conditionally compile PM code

2013-09-18 Thread Thierry Reding
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 --- drivers/video/aty/radeon_pm.c | 7 ++- 1 file changed, 6 insertions(+), 1

[PATCH] radeon: Conditionally compile PM code

2013-09-18 Thread Thierry Reding
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 tred...@nvidia.com --- drivers/video/aty/radeon_pm.c | 7 ++- 1 file changed, 6