diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2011-03-28 09:12:52 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-04-19 16:45:51 -0700 |
commit | aed65af1cc2f6fc9ded5a8158f1405a02cf6d2ff (patch) | |
tree | fd7051c0d25a6f463db9593a981ca3e558d17b4f /kernel/ksysfs.c | |
parent | 695cca8763078c743417886e80af8ccb78bec9f2 (diff) | |
download | lwn-aed65af1cc2f6fc9ded5a8158f1405a02cf6d2ff.tar.gz lwn-aed65af1cc2f6fc9ded5a8158f1405a02cf6d2ff.zip |
drivers: make device_type const
The device_type structure does not contain data that changes
during usage and should be const. This allows devices to declare
the struct const.
I have patches to change all the subsystems, but need the infra
structure change first.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'kernel/ksysfs.c')
0 files changed, 0 insertions, 0 deletions