Commit acc2472e authored by Lionel Debroux's avatar Lionel Debroux Committed by Jiri Kosina
Browse files

backlight: constify backlight_ops

backlight_device_register has been expecting a const "ops" argument, and using
it as such, since 9905a43b

. Let's make the
remaining backlight_ops instances const.

Inspired by hunks of the grsecurity patch, updated for newer kernels.

Signed-off-by: default avatarLionel Debroux <lionel_debroux@yahoo.fr>
Acked-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 073ef1f6
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment