]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
uio: make uio_info's name and version const
authorStephen Rothwell <sfr@canb.auug.org.au>
Fri, 12 Dec 2008 10:44:21 +0000 (11:44 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 6 Jan 2009 18:44:44 +0000 (10:44 -0800)
commitb8ac9fc0e8cda9f9776019c5b0464b0c6d2d4c90
treeec16e6a3844396dd67af3f87c915cb272570cc98
parenta2ab3d30005cdce45c2c7e31ad6743ad7975609a
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>
Documentation/DocBook/uio-howto.tmpl
include/linux/uio_driver.h