From: Sebastian Andrzej Siewior Date: Thu, 22 Nov 2012 18:50:34 +0000 (+0100) Subject: usb: gadget: ncm: make global variable ndp*_opts read only X-Git-Tag: v3.9-rc1~126^2~43^2~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d640ad394d71a2467d0e08a3337fdad828786bb;p=pandora-kernel.git usb: gadget: ncm: make global variable ndp*_opts read only There is ndp16_opts and ndp32_opts which are both global and only one member is ever written. This patch makes the variable read-only and moves the one member that is ever written into the private struct f_ncm. Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed