r8152: move r8152b_get_version
authorhayeswang <hayeswang@realtek.com>
Thu, 6 Nov 2014 04:47:38 +0000 (12:47 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Nov 2014 20:14:30 +0000 (15:14 -0500)
commit82cf94cbcf95356ba9ba8c2533291a7792bbe5e7
tree54ae2d254a805232fbb57bd491737fb7d6d68491
parent926c512685ddd8f26f1c789218391530ccd54a35
r8152: move r8152b_get_version

Move r8152b_get_version() to the location before rtl_ops_init().
Then, the rtl_ops_init() could use tp->version.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/r8152.c