Re: [BUILD BUG v6.3-rc1] platform/x86/amd: error: implicit declaration of function ‘amd_pmc_write_stb’

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 9 Mar 2023 22:44:51 -0500
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> With CONFIG_SUSPEND not defined I get:
> 
> drivers/platform/x86/amd/pmc.c: In function ‘amd_pmc_stb_debugfs_open_v2’:
> drivers/platform/x86/amd/pmc.c:256:15: error: implicit declaration of function ‘amd_pmc_write_stb’; did you mean ‘amd_pmc_read_stb’? [-Werror=implicit-function-declaration]
>   256 |         ret = amd_pmc_write_stb(dev, AMD_PMC_STB_DUMMY_PC);
>       |               ^~~~~~~~~~~~~~~~~
>       |               amd_pmc_read_stb
> 

And I just checked out Linus's top of tree and see that all the
CONFIG_SUSPEND defines are removed from that file.

As the Church Lady use to say...

     Never mind!

-- Steve



[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux