Skip to content
Commit 2f55ac07 authored by Lionel Debroux's avatar Lionel Debroux Committed by Jiri Kosina
Browse files

suspend: constify platform_suspend_ops



While at it, fix two checkpatch errors.
Several non-const struct instances constified by this patch were added after
the introduction of platform_suspend_ops in checkpatch.pl's list of "should
be const" structs (79404849).

Patch against mainline.
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 acc2472e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment