aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/media
diff options
context:
space:
mode:
authorDmitry Osipenko <digetx@gmail.com>2018-03-17 11:28:15 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-05-04 06:33:57 -0400
commit7f951cb8147565d1765f550edfdb4ccc23645dcc (patch)
treeee56460af939e3a6a52db348c344243be6caf99e /drivers/staging/media
parentmedia: staging: tegra-vde: Do not handle spurious interrupts (diff)
downloadlinux-dev-7f951cb8147565d1765f550edfdb4ccc23645dcc.tar.xz
linux-dev-7f951cb8147565d1765f550edfdb4ccc23645dcc.zip
media: staging: tegra-vde: Correct included header
This is Open Firmware driver, hence 'of_device.h' should be included instead of 'platform_device.h'. Right now OF headers happen to be included indirectly and this may break in the future, so let's correct the header. Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Hans Verkuil <hansverk@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/staging/media')
-rw-r--r--drivers/staging/media/tegra-vde/tegra-vde.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/media/tegra-vde/tegra-vde.c b/drivers/staging/media/tegra-vde/tegra-vde.c
index 9e542c6288f1..90177a59b97c 100644
--- a/drivers/staging/media/tegra-vde/tegra-vde.c
+++ b/drivers/staging/media/tegra-vde/tegra-vde.c
@@ -16,7 +16,7 @@
#include <linux/iopoll.h>
#include <linux/miscdevice.h>
#include <linux/module.h>
-#include <linux/platform_device.h>
+#include <linux/of_device.h>
#include <linux/pm_runtime.h>
#include <linux/reset.h>
#include <linux/slab.h>