projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa44afa
)
platform/x86: amd-pmc: Fix CONFIG_DEBUG_FS check
author
Shyam Sundar S K
<Shyam-sundar.S-k@amd.com>
Wed, 30 Dec 2020 08:10:28 +0000
(13:40 +0530)
committer
Hans de Goede
<hdegoede@redhat.com>
Mon, 4 Jan 2021 14:57:26 +0000
(15:57 +0100)
lkp reported that CONFIG_DEBUG_FS was not defined because of wrong usage
if macro, correcting it now.
Fixes:
156ec4731cb2
("platform/x86: amd-pmc: Add AMD platform support for S2Idle")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
Link:
https://lore.kernel.org/r/20201230081028.2615217-1-Shyam-sundar.S-k@amd.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/amd-pmc.c
patch
|
blob
|
history
diff --git
a/drivers/platform/x86/amd-pmc.c
b/drivers/platform/x86/amd-pmc.c
index
0102bf1
..
ef83425
100644
(file)
--- a/
drivers/platform/x86/amd-pmc.c
+++ b/
drivers/platform/x86/amd-pmc.c
@@
-85,7
+85,7
@@
static inline void amd_pmc_reg_write(struct amd_pmc_dev *dev, int reg_offset, u3
iowrite32(val, dev->regbase + reg_offset);
}
-#if CONFIG_DEBUG_FS
+#if
def
CONFIG_DEBUG_FS
static int smu_fw_info_show(struct seq_file *s, void *unused)
{
struct amd_pmc_dev *dev = s->private;