summaryrefslogtreecommitdiff
path: root/lib/sysfs.c
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2008-02-12 10:19:19 +0100
committerMartin Mares <mj@ucw.cz>2008-02-12 10:19:19 +0100
commit9ff67879d0d4f2421c376825bf0aa3d7ff924e78 (patch)
treeb2fed437b262ec7aa7d34f253431947f385f4912 /lib/sysfs.c
parentcb6ee324dd157dc5dec68eab488e7c829e92e2a2 (diff)
downloadpciutils-9ff67879d0d4f2421c376825bf0aa3d7ff924e78.tar.gz
Introduced API for selection of access methods.
Access method names were normalized (they so far served only informational purposes). Each access method gained a help text.
Diffstat (limited to 'lib/sysfs.c')
-rw-r--r--lib/sysfs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sysfs.c b/lib/sysfs.c
index 581bedb..ea386fa 100644
--- a/lib/sysfs.c
+++ b/lib/sysfs.c
@@ -250,7 +250,8 @@ static void sysfs_cleanup_dev(struct pci_dev *d)
}
struct pci_methods pm_linux_sysfs = {
- "Linux-sysfs",
+ "linux-sysfs",
+ "The sys filesystem on Linux",
sysfs_config,
sysfs_detect,
sysfs_init,