Skip to content
This repository has been archived by the owner on Nov 18, 2024. It is now read-only.

Commit

Permalink
Update gsi.c
Browse files Browse the repository at this point in the history
replace __pack gsi_channel_scratch to gsi_channel_scratch
  • Loading branch information
HuaJI66 authored Jun 6, 2024
1 parent 296a0ce commit 616637d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions drivers/platform/msm/gsi/gsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -2551,7 +2551,7 @@ static int gsi_alloc_ap_channel(unsigned int chan_hdl)
}

static void __gsi_write_channel_scratch(unsigned long chan_hdl,
union __packed gsi_channel_scratch val)
union gsi_channel_scratch val)
{
gsi_writel(val.data.word1, gsi_ctx->base +
GSI_EE_n_GSI_CH_k_SCRATCH_0_OFFS(chan_hdl,
Expand Down Expand Up @@ -2632,7 +2632,7 @@ int gsi_write_channel_scratch2_reg(unsigned long chan_hdl,
EXPORT_SYMBOL(gsi_write_channel_scratch2_reg);

static void __gsi_read_channel_scratch(unsigned long chan_hdl,
union __packed gsi_channel_scratch * val)
union gsi_channel_scratch * val)
{
val->data.word1 = gsi_readl(gsi_ctx->base +
GSI_EE_n_GSI_CH_k_SCRATCH_0_OFFS(chan_hdl,
Expand All @@ -2654,7 +2654,7 @@ static void __gsi_read_channel_scratch(unsigned long chan_hdl,
static union gsi_channel_scratch __gsi_update_mhi_channel_scratch(
unsigned long chan_hdl, struct __packed gsi_mhi_channel_scratch mscr)
{
union __packed gsi_channel_scratch scr;
union gsi_channel_scratch scr;

/* below sequence is not atomic. assumption is sequencer specific fields
* will remain unchanged across this sequence
Expand Down Expand Up @@ -2711,7 +2711,7 @@ static union gsi_channel_scratch __gsi_update_mhi_channel_scratch(
}

int gsi_write_channel_scratch(unsigned long chan_hdl,
union __packed gsi_channel_scratch val)
union gsi_channel_scratch val)
{
struct gsi_chan_ctx *ctx;

Expand Down Expand Up @@ -2744,7 +2744,7 @@ int gsi_write_channel_scratch(unsigned long chan_hdl,
EXPORT_SYMBOL(gsi_write_channel_scratch);

int gsi_read_channel_scratch(unsigned long chan_hdl,
union __packed gsi_channel_scratch *val)
union gsi_channel_scratch *val)
{
struct gsi_chan_ctx *ctx;

Expand Down

0 comments on commit 616637d

Please sign in to comment.