diff options
author | Rashika <rashika.kheria@gmail.com> | 2013-12-17 10:16:41 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-01-06 00:13:22 +0100 |
commit | 49894d8d5ac19224520f6bec213bbeb120f7eb70 (patch) | |
tree | f4ca7dfdb8901a71190ee93392b54acd0e52232d /drivers/acpi/ec_sys.c | |
parent | ACPI / NVS: Include appropriate header file in nvs.c (diff) | |
download | linux-49894d8d5ac19224520f6bec213bbeb120f7eb70.tar.xz linux-49894d8d5ac19224520f6bec213bbeb120f7eb70.zip |
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.c | 2 |
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]; |