From: Paolo 'Blaisorblade' Giarrusso Date: Fri, 20 Oct 2006 06:28:26 +0000 (-0700) Subject: [PATCH] uml: mmapper - remove just added but wrong "const" attribute X-Git-Tag: v2.6.19-rc3~106 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ba0ce6f9c19a8573832e14b418dc835dc6f3bbd;p=pandora-kernel.git [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 Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed