From: Rob Ward Date: Sun, 7 Dec 2014 15:40:34 +0000 (+0000) Subject: drivers: char: mem: Simplify DEVKMEM configuration X-Git-Tag: fixes-v4.0-rc1~101^2~76 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8c912522b547b3512cd25ccb8d507cd75264c84;p=pandora-kernel.git drivers: char: mem: Simplify DEVKMEM configuration Simplify the use of CONFIG_DEVKMEM by making the kmem_fops so that it is __maybe_unused. This enabled the multiple #ifdef's used for this structure to be removed and brings it in line with the use of CONFIG_DEVMEM This change should introduce no functional changes. Signed-off-by: Rob Ward Acked-by: Arnd Bergmann Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed