Skip to content

Commit 53e4e2b

Browse files
Jeff Johnsonchanwoochoi
authored andcommitted
PM/devfreq: governor: add missing MODULE_DESCRIPTION() macros
make allmodconfig && make W=1 C=1 reports: WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_simpleondemand.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_performance.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_powersave.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_userspace.o Add all missing invocations of the MODULE_DESCRIPTION() macro. Link: https://lore.kernel.org/lkml/[email protected]/ Signed-off-by: Jeff Johnson <[email protected]> Signed-off-by: Chanwoo Choi <[email protected]>
1 parent 431c164 commit 53e4e2b

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

drivers/devfreq/governor_performance.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,5 @@ static void __exit devfreq_performance_exit(void)
5858
return;
5959
}
6060
module_exit(devfreq_performance_exit);
61+
MODULE_DESCRIPTION("DEVFREQ Performance governor");
6162
MODULE_LICENSE("GPL");

drivers/devfreq/governor_powersave.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,5 @@ static void __exit devfreq_powersave_exit(void)
5858
return;
5959
}
6060
module_exit(devfreq_powersave_exit);
61+
MODULE_DESCRIPTION("DEVFREQ Powersave governor");
6162
MODULE_LICENSE("GPL");

drivers/devfreq/governor_simpleondemand.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,4 +140,5 @@ static void __exit devfreq_simple_ondemand_exit(void)
140140
return;
141141
}
142142
module_exit(devfreq_simple_ondemand_exit);
143+
MODULE_DESCRIPTION("DEVFREQ Simple On-demand governor");
143144
MODULE_LICENSE("GPL");

drivers/devfreq/governor_userspace.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,4 +153,5 @@ static void __exit devfreq_userspace_exit(void)
153153
return;
154154
}
155155
module_exit(devfreq_userspace_exit);
156+
MODULE_DESCRIPTION("DEVFREQ Userspace governor");
156157
MODULE_LICENSE("GPL");

0 commit comments

Comments
 (0)