PCI: Rename sysfs 'enabled' file back to 'enable'
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Oct 2014 16:30:28 +0000 (09:30 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 30 Oct 2014 17:17:10 +0000 (11:17 -0600)
commitd8e7d53a2fc14e0830ab728cb84ee19933d3ac8d
treea62a3b4bbf1ff8a58bb6af4233a1b09870877b8d
parenta2fa6f64c26aa0ea75b15116dd4a4f89bb5c869e
PCI: Rename sysfs 'enabled' file back to 'enable'

Back in commit 5136b2da770d ("PCI: convert bus code to use dev_groups"),
I misstyped the 'enable' sysfs filename as 'enabled', which broke the
userspace API.  This patch fixes that issue by renaming the file back.

Fixes: 5136b2da770d ("PCI: convert bus code to use dev_groups")
Reported-by: Jeff Epler <jepler@unpythonic.net>
Tested-by: Jeff Epler <jepler@unpythonic.net> # on v3.14-rt
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
CC: stable@vger.kernel.org # 3.13
drivers/pci/pci-sysfs.c