commit | 853c24f79dd6f4a3d6d7b52f235fe121aee08b45 | [log] [tgz] |
---|---|---|
author | Bjørn Mork <bjorn@mork.no> | Tue Jun 19 00:41:59 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Jun 19 15:04:14 2012 -0700 |
tree | 082552914cade08c19da13e6c83c317eebc51f5d | |
parent | d1904fbd881e43cde2ec024117efaba83f8d9996 [diff] |
net: qmi_wwan: define a structure for driver specific state usbnet allocates a fixed size array for minidriver specific state. Naming the fields and taking advantage of type checking is a bit more failsafe than casting array elements each time they are referenced. Signed-off-by: Bjørn Mork <bjorn@mork.no> Signed-off-by: David S. Miller <davem@davemloft.net>