msm: cleanup: union gsi_wdi2_channel_scratch2_reg
Remove __packed from the usage of union gsi_wdi2_channel_scratch2_reg
__packed is only needed in the union definition.
include/linux/msm_gsi.h:
union __packed gsi_wdi2_channel_scratch2_reg {
...
}
Bug: 140528058
Test: build pass
Change-Id: Ie3a6ebbe26af09d845f4a3f3f756b381a8e47a21
Signed-off-by: neoyu <neoyu@google.com>
This commit is contained in:
@@ -2598,7 +2598,7 @@ int gsi_write_channel_scratch3_reg(unsigned long chan_hdl,
|
|||||||
EXPORT_SYMBOL(gsi_write_channel_scratch3_reg);
|
EXPORT_SYMBOL(gsi_write_channel_scratch3_reg);
|
||||||
|
|
||||||
int gsi_write_channel_scratch2_reg(unsigned long chan_hdl,
|
int gsi_write_channel_scratch2_reg(unsigned long chan_hdl,
|
||||||
union __packed gsi_wdi2_channel_scratch2_reg val)
|
union gsi_wdi2_channel_scratch2_reg val)
|
||||||
{
|
{
|
||||||
struct gsi_chan_ctx *ctx;
|
struct gsi_chan_ctx *ctx;
|
||||||
|
|
||||||
|
|||||||
@@ -2873,7 +2873,7 @@ int ipa3_write_qmapid_gsi_wdi_pipe(u32 clnt_hdl, u8 qmap_id)
|
|||||||
int result = 0;
|
int result = 0;
|
||||||
struct ipa3_ep_context *ep;
|
struct ipa3_ep_context *ep;
|
||||||
union gsi_wdi_channel_scratch3_reg gsi_scratch3;
|
union gsi_wdi_channel_scratch3_reg gsi_scratch3;
|
||||||
union __packed gsi_wdi2_channel_scratch2_reg gsi_scratch2;
|
union gsi_wdi2_channel_scratch2_reg gsi_scratch2;
|
||||||
|
|
||||||
ep = &ipa3_ctx->ep[clnt_hdl];
|
ep = &ipa3_ctx->ep[clnt_hdl];
|
||||||
IPA_ACTIVE_CLIENTS_INC_EP(ipa3_get_client_mapping(clnt_hdl));
|
IPA_ACTIVE_CLIENTS_INC_EP(ipa3_get_client_mapping(clnt_hdl));
|
||||||
|
|||||||
@@ -1301,7 +1301,7 @@ int gsi_write_channel_scratch3_reg(unsigned long chan_hdl,
|
|||||||
* @Return gsi_status
|
* @Return gsi_status
|
||||||
*/
|
*/
|
||||||
int gsi_write_channel_scratch2_reg(unsigned long chan_hdl,
|
int gsi_write_channel_scratch2_reg(unsigned long chan_hdl,
|
||||||
union __packed gsi_wdi2_channel_scratch2_reg val);
|
union gsi_wdi2_channel_scratch2_reg val);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* gsi_read_channel_scratch - Peripheral should call this function to
|
* gsi_read_channel_scratch - Peripheral should call this function to
|
||||||
@@ -1789,7 +1789,7 @@ static inline int gsi_write_channel_scratch3_reg(unsigned long chan_hdl,
|
|||||||
}
|
}
|
||||||
|
|
||||||
static inline int gsi_write_channel_scratch2_reg(unsigned long chan_hdl,
|
static inline int gsi_write_channel_scratch2_reg(unsigned long chan_hdl,
|
||||||
union __packed gsi_wdi2_channel_scratch2_reg val)
|
union gsi_wdi2_channel_scratch2_reg val)
|
||||||
{
|
{
|
||||||
return -GSI_STATUS_UNSUPPORTED_OP;
|
return -GSI_STATUS_UNSUPPORTED_OP;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user