summaryrefslogtreecommitdiff
path: root/drivers/acpi/ec_sys.c
diff options
context:
space:
mode:
authorRashika <rashika.kheria@gmail.com>2013-12-17 14:46:41 +0530
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-01-06 00:13:22 +0100
commit49894d8d5ac19224520f6bec213bbeb120f7eb70 (patch)
treef4ca7dfdb8901a71190ee93392b54acd0e52232d /drivers/acpi/ec_sys.c
parent679c581b4a399f519155bf1d976f05d14b5717c3 (diff)
downloadlinux-49894d8d5ac19224520f6bec213bbeb120f7eb70.tar.gz
ACPI / EC: Mark the function acpi_ec_add_debugfs() as static in ec_sys.c
Mark the function acpi_ec_add_debugfs() as static in ec_sys.c because it is not used outside this file. This eliminates the following warning in ec_sys.c: drivers/acpi/ec_sys.c:108:5: warning: no previous prototype for ‘acpi_ec_add_debugfs’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/ec_sys.c')
-rw-r--r--drivers/acpi/ec_sys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/ec_sys.c b/drivers/acpi/ec_sys.c
index 4e7b798900f2..b4c216bab22b 100644
--- a/drivers/acpi/ec_sys.c
+++ b/drivers/acpi/ec_sys.c
@@ -105,7 +105,7 @@ static const struct file_operations acpi_ec_io_ops = {
.llseek = default_llseek,
};
-int acpi_ec_add_debugfs(struct acpi_ec *ec, unsigned int ec_device_count)
+static int acpi_ec_add_debugfs(struct acpi_ec *ec, unsigned int ec_device_count)
{
struct dentry *dev_dir;
char name[64];