diff options
-rw-r--r-- | drivers/oprofile/oprofile_perf.c | 2 | ||||
-rw-r--r-- | include/linux/oprofile.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/oprofile/oprofile_perf.c b/drivers/oprofile/oprofile_perf.c index e707a72a3799..36ec67e3d91d 100644 --- a/drivers/oprofile/oprofile_perf.c +++ b/drivers/oprofile/oprofile_perf.c | |||
@@ -236,7 +236,7 @@ static int __init init_driverfs(void) | |||
236 | return ret; | 236 | return ret; |
237 | } | 237 | } |
238 | 238 | ||
239 | static void __exit exit_driverfs(void) | 239 | static void exit_driverfs(void) |
240 | { | 240 | { |
241 | platform_device_unregister(oprofile_pdev); | 241 | platform_device_unregister(oprofile_pdev); |
242 | platform_driver_unregister(&oprofile_driver); | 242 | platform_driver_unregister(&oprofile_driver); |
diff --git a/include/linux/oprofile.h b/include/linux/oprofile.h index d67a8330b41e..32fb81212fd1 100644 --- a/include/linux/oprofile.h +++ b/include/linux/oprofile.h | |||
@@ -188,7 +188,7 @@ int oprofile_write_commit(struct op_entry *entry); | |||
188 | 188 | ||
189 | #ifdef CONFIG_PERF_EVENTS | 189 | #ifdef CONFIG_PERF_EVENTS |
190 | int __init oprofile_perf_init(struct oprofile_operations *ops); | 190 | int __init oprofile_perf_init(struct oprofile_operations *ops); |
191 | void __exit oprofile_perf_exit(void); | 191 | void oprofile_perf_exit(void); |
192 | char *op_name_from_perf_id(void); | 192 | char *op_name_from_perf_id(void); |
193 | #endif /* CONFIG_PERF_EVENTS */ | 193 | #endif /* CONFIG_PERF_EVENTS */ |
194 | 194 | ||