Skip to content

Commit 5b56930

Browse files
Shyam Sundar S Kjwrdegoede
authored andcommitted
platform/x86: amd-pmc: Fix CONFIG_DEBUG_FS check
lkp reported that CONFIG_DEBUG_FS was not defined because of wrong usage if macro, correcting it now. Fixes: 156ec47 ("platform/x86: amd-pmc: Add AMD platform support for S2Idle") Reported-by: kernel test robot <[email protected]> Signed-off-by: Shyam Sundar S K <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Hans de Goede <[email protected]>
1 parent aa44afa commit 5b56930

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/platform/x86/amd-pmc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ static inline void amd_pmc_reg_write(struct amd_pmc_dev *dev, int reg_offset, u3
8585
iowrite32(val, dev->regbase + reg_offset);
8686
}
8787

88-
#if CONFIG_DEBUG_FS
88+
#ifdef CONFIG_DEBUG_FS
8989
static int smu_fw_info_show(struct seq_file *s, void *unused)
9090
{
9191
struct amd_pmc_dev *dev = s->private;

0 commit comments

Comments
 (0)