mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-19 01:17:23 +07:00
staging: wlan-ng: rename DIDmsg_p2req_ramdl_write in p80211metadef.h
Rename DIDmsg_p2req_ramdl_write in p80211metadef.h to DIDMSG_P2REQ_RAMDL_WRITE 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
8843c1fb98
commit
e0959e9b7a
@ -126,7 +126,7 @@
|
||||
(P80211DID_MKSECTION(5) | \
|
||||
P80211DID_MKGROUP(11) | \
|
||||
P80211DID_MKITEM(3) | 0x00000000)
|
||||
#define DIDmsg_p2req_ramdl_write \
|
||||
#define DIDMSG_P2REQ_RAMDL_WRITE \
|
||||
(P80211DID_MKSECTION(5) | \
|
||||
P80211DID_MKGROUP(12))
|
||||
#define DIDmsg_p2req_ramdl_write_addr \
|
||||
|
@ -1034,7 +1034,7 @@ static int writeimage(struct wlandevice *wlandev, struct imgchunk *fchunk,
|
||||
rstmsg->resultcode.len = sizeof(u32);
|
||||
|
||||
strcpy(rwrmsg->devname, wlandev->name);
|
||||
rwrmsg->msgcode = DIDmsg_p2req_ramdl_write;
|
||||
rwrmsg->msgcode = DIDMSG_P2REQ_RAMDL_WRITE;
|
||||
rwrmsg->msglen = sizeof(*rwrmsg);
|
||||
rwrmsg->addr.did = DIDmsg_p2req_ramdl_write_addr;
|
||||
rwrmsg->len.did = DIDmsg_p2req_ramdl_write_len;
|
||||
|
@ -319,7 +319,7 @@ static int prism2sta_mlmerequest(struct wlandevice *wlandev,
|
||||
pr_debug("Received mlme ramdl_state request\n");
|
||||
result = prism2mgmt_ramdl_state(wlandev, msg);
|
||||
break;
|
||||
case DIDmsg_p2req_ramdl_write:
|
||||
case DIDMSG_P2REQ_RAMDL_WRITE:
|
||||
pr_debug("Received mlme ramdl_write request\n");
|
||||
result = prism2mgmt_ramdl_write(wlandev, msg);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user