diff options
| author | Geert Uytterhoeven <[email protected]> | 2015-09-06 07:08:49 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2015-09-25 17:33:21 -0300 |
| commit | 18baba64580fe78a46d652a638915518b2a1dc40 (patch) | |
| tree | b194a71dec5eca29becbcd0da92f17889fcf48ae /tools/perf/scripts/python | |
| parent | f00ae754c536511055ed6162778be8348e093514 (diff) | |
[media] atmel-isi: Protect PM-only functions to kill warning
If CONFIG_PM=n:
drivers/media/platform/soc_camera/atmel-isi.c:1044: warning: 'atmel_isi_runtime_suspend' defined but not used
drivers/media/platform/soc_camera/atmel-isi.c:1054: warning: 'atmel_isi_runtime_resume' defined but not used
Protect the unused functions by #ifdef CONFIG_PM to fix this.
Signed-off-by: Geert Uytterhoeven <[email protected]>
Acked-by: Josh Wu <[email protected]>
Signed-off-by: Guennadi Liakhovetski <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions