Staging
v0.5.1
https://github.com/torvalds/linux
Revision 80f65558bdd14c0a113cd085582d578a3a3a1976 authored by Mathias Krause on 16 July 2014, 17:43:06 UTC, committed by Matthew Garrett on 16 August 2014, 08:23:51 UTC
Encapsulate acer_suspend() and acer_resume with #ifdef CONFIG_PM_SLEEP
to get rid of the following warnings:

  ../acer-wmi.c:2046:12: warning: ‘acer_suspend’ defined but not used [-Wunused-function]
  ../acer-wmi.c:2068:12: warning: ‘acer_resume’ defined but not used [-Wunused-function]

Signed-off-by: Mathias Krause <minipli@googlemail.com>
Cc: "Lee, Chun-Yi" <jlee@suse.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
1 parent 87e4484
History
Tip revision: 80f65558bdd14c0a113cd085582d578a3a3a1976 authored by Mathias Krause on 16 July 2014, 17:43:06 UTC
acer-wmi: Hide acer_{suspend,resume} for !CONFIG_PM_SLEEP
Tip revision: 80f6555
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.7 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 93.8 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 277.8 KB
Makefile -rw-r--r-- 52.8 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top