Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm: shmobile: Reduce include dependencies

This file doesn't need anything provided by <linux/kernel.h>.
All it needs are some types, which are provided by <drm/drm_mode.h>.

Drop unneeded <linux/kernel.h> completely.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200422125201.37618-1-andriy.shevchenko@linux.intel.com

authored by

Andy Shevchenko and committed by
Imre Deak
8bca49e4 a4e45e5d

-2
-2
include/linux/platform_data/shmob_drm.h
··· 10 10 #ifndef __SHMOB_DRM_H__ 11 11 #define __SHMOB_DRM_H__ 12 12 13 - #include <linux/kernel.h> 14 - 15 13 #include <drm/drm_mode.h> 16 14 17 15 enum shmob_drm_clk_source {