mirror of https://gitee.com/openkylin/linux.git
staging: wlan-ng: rename DIDmsg_p2req_ramdl_state_exeaddr in p80211metadef.h
Rename DIDmsg_p2req_ramdl_state_exeaddr in p80211metadef.h to DIDMSG_P2REQ_RAMDL_STATE_EXEADDR to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Signed-off-by: Tim Collier <osdevtc@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
380ad4f677
commit
9ea4ffecf1
|
@ -118,7 +118,7 @@
|
||||||
(P80211DID_MKSECTION(5) | \
|
(P80211DID_MKSECTION(5) | \
|
||||||
P80211DID_MKGROUP(11) | \
|
P80211DID_MKGROUP(11) | \
|
||||||
P80211DID_MKITEM(1) | 0x00000000)
|
P80211DID_MKITEM(1) | 0x00000000)
|
||||||
#define DIDmsg_p2req_ramdl_state_exeaddr \
|
#define DIDMSG_P2REQ_RAMDL_STATE_EXEADDR \
|
||||||
(P80211DID_MKSECTION(5) | \
|
(P80211DID_MKSECTION(5) | \
|
||||||
P80211DID_MKGROUP(11) | \
|
P80211DID_MKGROUP(11) | \
|
||||||
P80211DID_MKITEM(2) | 0x00000000)
|
P80211DID_MKITEM(2) | 0x00000000)
|
||||||
|
|
|
@ -1024,7 +1024,7 @@ static int writeimage(struct wlandevice *wlandev, struct imgchunk *fchunk,
|
||||||
rstmsg->msgcode = DIDMSG_P2REQ_RAMDL_STATE;
|
rstmsg->msgcode = DIDMSG_P2REQ_RAMDL_STATE;
|
||||||
rstmsg->msglen = sizeof(*rstmsg);
|
rstmsg->msglen = sizeof(*rstmsg);
|
||||||
rstmsg->enable.did = DIDMSG_P2REQ_RAMDL_STATE_ENABLE;
|
rstmsg->enable.did = DIDMSG_P2REQ_RAMDL_STATE_ENABLE;
|
||||||
rstmsg->exeaddr.did = DIDmsg_p2req_ramdl_state_exeaddr;
|
rstmsg->exeaddr.did = DIDMSG_P2REQ_RAMDL_STATE_EXEADDR;
|
||||||
rstmsg->resultcode.did = DIDmsg_p2req_ramdl_state_resultcode;
|
rstmsg->resultcode.did = DIDmsg_p2req_ramdl_state_resultcode;
|
||||||
rstmsg->enable.status = P80211ENUM_msgitem_status_data_ok;
|
rstmsg->enable.status = P80211ENUM_msgitem_status_data_ok;
|
||||||
rstmsg->exeaddr.status = P80211ENUM_msgitem_status_data_ok;
|
rstmsg->exeaddr.status = P80211ENUM_msgitem_status_data_ok;
|
||||||
|
|
Loading…
Reference in New Issue