summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/oprofile/oprofile_perf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/oprofile/oprofile_perf.c b/drivers/oprofile/oprofile_perf.c
index 79c0005134a1..e707a72a3799 100644
--- a/drivers/oprofile/oprofile_perf.c
+++ b/drivers/oprofile/oprofile_perf.c
@@ -4,6 +4,7 @@
* Perf-events backend for OProfile.
*/
#include <linux/perf_event.h>
+#include <linux/platform_device.h>
#include <linux/oprofile.h>
#include <linux/slab.h>