commit | 8d640ad394d71a2467d0e08a3337fdad828786bb | [log] [tgz] |
---|---|---|
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | Thu Nov 22 19:50:34 2012 +0100 |
committer | Felipe Balbi <balbi@ti.com> | Thu Jan 10 12:25:12 2013 +0200 |
tree | 3e2793f82b6a856b5337c5a7adb1aef2ddbf3dde | |
parent | d3eeee6846c9a38b867616905df2327017ed3cd8 [diff] |
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 <bigeasy@linutronix.de> Signed-off-by: Felipe Balbi <balbi@ti.com>