diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2008-12-12 11:44:21 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-06 19:44:44 +0100 |
commit | b8ac9fc0e8cda9f9776019c5b0464b0c6d2d4c90 (patch) | |
tree | ec16e6a3844396dd67af3f87c915cb272570cc98 /lib | |
parent | UIO: Documentation for UIO ioport info handling (diff) | |
download | linux-b8ac9fc0e8cda9f9776019c5b0464b0c6d2d4c90.tar.xz linux-b8ac9fc0e8cda9f9776019c5b0464b0c6d2d4c90.zip |
uio: make uio_info's name and version const
These are only ever assigned constant strings and never modified.
This was noticed because Wolfram Sang needed to cast the result of
of_get_property() in order to assign it to the name field of a struct
uio_info.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Hans J. Koch <hjk@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions