Skip to content

Commit

Permalink
Merge pull request johnfanv2#199 from st0nie/fix-build
Browse files Browse the repository at this point in the history
try to fix build warn
  • Loading branch information
st0nie authored Apr 7, 2024
2 parents 8b8c299 + d636a6a commit 69c2d53
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions kernel_module/legion-laptop.c
Original file line number Diff line number Diff line change
Expand Up @@ -1724,7 +1724,7 @@ static ssize_t ecram_memoryio_read(const struct ecram_memoryio *ec_memoryio,
* Return status because of commong signature for alle
* methods to access EC RAM.
*/
ssize_t ecram_memoryio_write(const struct ecram_memoryio *ec_memoryio,
static ssize_t ecram_memoryio_write(const struct ecram_memoryio *ec_memoryio,
u16 ec_offset, u8 value)
{
if (ec_offset < ec_memoryio->physical_ec_start) {
Expand Down Expand Up @@ -3275,7 +3275,7 @@ enum legion_wmi_powermode {
LEGION_WMI_POWERMODE_CUSTOM = 255
};

enum legion_wmi_powermode ec_to_wmi_powermode(int ec_mode)
static enum legion_wmi_powermode ec_to_wmi_powermode(int ec_mode)
{
switch (ec_mode) {
case LEGION_EC_POWERMODE_QUIET:
Expand All @@ -3291,7 +3291,7 @@ enum legion_wmi_powermode ec_to_wmi_powermode(int ec_mode)
}
}

enum legion_ec_powermode wmi_to_ec_powermode(enum legion_wmi_powermode wmi_mode)
static enum legion_ec_powermode wmi_to_ec_powermode(enum legion_wmi_powermode wmi_mode)
{
switch (wmi_mode) {
case LEGION_WMI_POWERMODE_QUIET:
Expand Down

0 comments on commit 69c2d53

Please sign in to comment.