commit | ec8f9ceacef719a844ca269d654502af6a00a273 | [log] [tgz] |
---|---|---|
author | Geert Uytterhoeven <geert@linux-m68k.org> | Wed Jun 15 15:08:59 2011 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Jun 15 20:04:02 2011 -0700 |
tree | 3ce35cb7a4bf1eacec35eeacc0732d1dddcd9c65 | |
parent | 2b472611a32a72f4a118c069c2d62a1a3f087afd [diff] |
drivers/misc/apds990x.c: apds990x_chip_on() should depend on CONFIG_PM || CONFIG_PM_RUNTIME Fixes this warning: drivers/misc/apds990x.c: At top level: drivers/misc/apds990x.c:613: warning: `apds990x_chip_on' defined but not used Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Cc: Samu Onkalo <samu.p.onkalo@nokia.com> Cc: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>