]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8188eu: rtw_mlme_ext.c: reorder message callbacks and tables
authorLuca Ceresoli <luca@lucaceresoli.net>
Thu, 11 Jun 2015 22:20:43 +0000 (00:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 13 Jun 2015 00:22:05 +0000 (17:22 -0700)
commitaf4220e604c8e6dd8b76b7cdbd9a942145452bcc
tree43f04a095d9eca6d22ec990dcfe39ad60ab0a240
parent14818472a1a81336f9fd453411d2f5e189368cf8
staging: rtl8188eu: rtw_mlme_ext.c: reorder message callbacks and tables

The message handling stored in mlme_sta_tbl and OnAction_tbl are internal and
will be declared static, and their declaration removed from rtw_mlme_ext.h, in
a later commit.

This would break compilation, since they are are referenced before their
definition.

Reorder these functions and the structures that hold them so that symbols are
defined before they are referenced, without the need for forward declarations.

This commit only reorders code, there is no content change.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Cc: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c