[Intel-gfx] [RFC 4/7] drm/i915: move and rename i915_runtime_pm

Chris Wilson chris at chris-wilson.co.uk
Thu May 16 22:07:43 UTC 2019


Quoting Daniele Ceraolo Spurio (2019-05-16 22:56:31)
> diff --git a/drivers/gpu/drm/i915/intel_runtime_pm.h b/drivers/gpu/drm/i915/intel_runtime_pm.h
> index b964ca7af9c8..0e3817f9785e 100644
> --- a/drivers/gpu/drm/i915/intel_runtime_pm.h
> +++ b/drivers/gpu/drm/i915/intel_runtime_pm.h
> @@ -6,6 +6,7 @@
>  #ifndef __INTEL_RUNTIME_PM_H__
>  #define __INTEL_RUNTIME_PM_H__
>  
> +#include <linux/device.h>

There doesn't seem to be any peeking into struct device, so do we not
just need the struct device forward decl here?

>  #include <linux/stackdepot.h>
>  #include <linux/types.h>


More information about the Intel-gfx mailing list