]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitab043d035547b5820d568e93d5e75f0005842b6b
treea62a3b4bbf1ff8a58bb6af4233a1b09870877b8d
parent0669b7e946b3da75ac37e12baa496d985a0e0ed0
PCI: Rename sysfs 'enabled' file back to 'enable'

Back in commit 5e3f37943ee6 ("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: 5e3f37943ee6 ("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