diff options
author | Márton Németh | 2011-05-30 21:50:26 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2011-06-07 23:29:56 +0200 |
commit | cf77acfca3ec3170a665c58b2712d275b8ab3860 (patch) | |
tree | beaa18d64d5d4f1687286b820e407232b0d61962 /drivers/staging/usbip/vhci.h | |
parent | staging: usbip: stub_main.c: simplify busid_table initialization (diff) | |
download | kernel-qcow2-linux-cf77acfca3ec3170a665c58b2712d275b8ab3860.tar.gz kernel-qcow2-linux-cf77acfca3ec3170a665c58b2712d275b8ab3860.tar.xz kernel-qcow2-linux-cf77acfca3ec3170a665c58b2712d275b8ab3860.zip |
usbip: change dev_attr_group to constant
The dev_attr_group variable is never changed and it is only passed
to the second parameter of sysfs_create_group() and sysfs_remove_group() functions.
These functions are defined in linux/sysfs.h: the second parameter is a pointer to
const in both cases.
Signed-off-by: Márton Németh <nm127@freemail.hu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/usbip/vhci.h')
-rw-r--r-- | drivers/staging/usbip/vhci.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/usbip/vhci.h b/drivers/staging/usbip/vhci.h index 3a1bacb4e228..71a586e00fd7 100644 --- a/drivers/staging/usbip/vhci.h +++ b/drivers/staging/usbip/vhci.h @@ -96,7 +96,7 @@ struct vhci_hcd { }; extern struct vhci_hcd *the_controller; -extern struct attribute_group dev_attr_group; +extern const struct attribute_group dev_attr_group; #define hardware (&the_controller->pdev.dev) /* vhci_hcd.c */ |