search for: acpi_device_attribute

Displaying 1 result from an estimated 1 matches for "acpi_device_attribute".

2008 Dec 25
0
[PATCH 1/4] dom0 linux: Expose HID, UID, SEG, BBN of PCI root bridge via sysfs.
...evice_attr_bbn.attr); end: if (result) { diff -r 618fc299e2f1 -r 4769a6db78f5 drivers/acpi/scan.c --- a/drivers/acpi/scan.c Thu Dec 18 11:51:36 2008 +0000 +++ b/drivers/acpi/scan.c Thu Dec 25 10:37:52 2008 +0900 @@ -31,12 +31,6 @@ kfree(dev->pnp.cid_list); kfree(dev); } - -struct acpi_device_attribute { - struct attribute attr; - ssize_t(*show) (struct acpi_device *, char *); - ssize_t(*store) (struct acpi_device *, const char *, size_t); -}; typedef void acpi_device_sysfs_files(struct kobject *, const struct attribute *); @@ -111,6 +105,42 @@ .uevent_ops = &namespace_uevent...