Skip to content

Commit

Permalink
Merge pull request #6 from MichaIng/patch-1
Browse files Browse the repository at this point in the history
clk: Disable writable debugfs files
  • Loading branch information
friendlyarm authored Feb 16, 2023
2 parents 1dc04cc + 27ed89b commit e01be6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/clk/clk.c
Original file line number Diff line number Diff line change
Expand Up @@ -3107,7 +3107,7 @@ static int clk_dump_show(struct seq_file *s, void *data)
}
DEFINE_SHOW_ATTRIBUTE(clk_dump);

#define CLOCK_ALLOW_WRITE_DEBUGFS
#undef CLOCK_ALLOW_WRITE_DEBUGFS
#ifdef CLOCK_ALLOW_WRITE_DEBUGFS
/*
* This can be dangerous, therefore don't provide any real compile time
Expand Down

0 comments on commit e01be6d

Please sign in to comment.