]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - net/bluetooth/rfcomm/core.c
driver-core: Add attribute argument to class_attribute show/store
[linux-2.6.git] / net / bluetooth / rfcomm / core.c
index 89f4a59eb82b9a520886a35e6b3aa65a6286ea70..db8a68e1a5ba835c11eff1f4d1f0525642e9ab41 100644 (file)
@@ -2098,7 +2098,9 @@ static struct hci_cb rfcomm_cb = {
        .security_cfm   = rfcomm_security_cfm
 };
 
-static ssize_t rfcomm_dlc_sysfs_show(struct class *dev, char *buf)
+static ssize_t rfcomm_dlc_sysfs_show(struct class *dev,
+                                    struct class_attribute *attr,
+                                    char *buf)
 {
        struct rfcomm_session *s;
        struct list_head *pp, *p;