From: Rob Ward Date: Sun, 7 Dec 2014 15:40:35 +0000 (+0000) Subject: drivers: char: mem: Simplify DEVPORT configuration X-Git-Tag: fixes-v4.0-rc1~101^2~75 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a4bc2fb80fb1fc943b640aae87dc078ba2aad78;p=pandora-kernel.git drivers: char: mem: Simplify DEVPORT configuration Simplify the use of CONFIG_DEVPORT by making the port_fops so that it includes __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