diff --git a/drivers/oprofile/oprofile_perf.c b/drivers/oprofile/oprofile_perf.c
index 79c0005134a18c540d0e74f2858a6e49525bcd80..e707a72a37999df7b9fd564b21ffc8a4289b221a 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>