diff options
| author | Geert Uytterhoeven <geert@linux-m68k.org> | 2015-09-06 07:08:49 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-09-25 17:33:21 -0300 |
| commit | 18baba64580fe78a46d652a638915518b2a1dc40 (patch) | |
| tree | b194a71dec5eca29becbcd0da92f17889fcf48ae /include | |
| 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 <geert@linux-m68k.org>
Acked-by: Josh Wu <josh.wu@atmel.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
