summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/ac.c
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2011-01-12 11:00:07 +0100
committerLen Brown <len.brown@intel.com>2011-01-12 11:00:07 +0100
commitc1b2dab96f3c1cb051b85d82d7e70e12e9b930f2 (patch)
tree9ef312cd3b4ce583364923ad708168add6059285 /drivers/acpi/ac.c
parentMerge branch 'pnp' into release (diff)
parentACPI: delete CONFIG_ACPI_PROCFS_POWER and power procfs I/F in 2.6.39 (diff)
downloadlinux-c1b2dab96f3c1cb051b85d82d7e70e12e9b930f2.tar.xz
linux-c1b2dab96f3c1cb051b85d82d7e70e12e9b930f2.zip
Merge branch 'procfs-cleanup' into release
Diffstat (limited to 'drivers/acpi/ac.c')
-rw-r--r--drivers/acpi/ac.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/acpi/ac.c b/drivers/acpi/ac.c
index 25d3aaebc10d..58c3f74bd84c 100644
--- a/drivers/acpi/ac.c
+++ b/drivers/acpi/ac.c
@@ -197,7 +197,8 @@ static int acpi_ac_add_fs(struct acpi_device *device)
{
struct proc_dir_entry *entry = NULL;
-
+ printk(KERN_WARNING PREFIX "Deprecated procfs I/F for AC is loaded,"
+ " please retry with CONFIG_ACPI_PROCFS_POWER cleared\n");
if (!acpi_device_dir(device)) {
acpi_device_dir(device) = proc_mkdir(acpi_device_bid(device),
acpi_ac_dir);