diff options
author | 2006-10-19 23:28:26 -0700 | |
---|---|---|
committer | 2006-10-20 10:26:36 -0700 | |
commit | 1ba0ce6f9c19a8573832e14b418dc835dc6f3bbd (patch) | |
tree | b5747ff835cd3e62339a2547df4d68a0c39d7271 /drivers/acpi/processor_idle.c | |
parent | [PATCH] uml: kconfig - silence warning (diff) | |
download | wireguard-linux-1ba0ce6f9c19a8573832e14b418dc835dc6f3bbd.tar.xz wireguard-linux-1ba0ce6f9c19a8573832e14b418dc835dc6f3bbd.zip |
[PATCH] uml: mmapper - remove just added but wrong "const" attribute
When enabling the mmapper driver I got warnings because this "const"
miscdevice structure is passed to function as non-const pointer; unlike struct
tty_operations, however, I verified that misc_{de,}register _do_ modify their
parameter, so this const attribute must be removed.
Since the purpose of the change was to guarantee that no lock was needed, add
a comment to prove this differently.
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Cc: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/acpi/processor_idle.c')
0 files changed, 0 insertions, 0 deletions