Re: [PATCH] drm/i915/pmu: Fix building without CONFIG_PM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Tvrtko Ursulin (2018-02-07 15:55:09)
> From: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxx>
> 
> We are peeking into PM internals so have to guard that with
> IS_ENABLED(CONFIG_PM) to build where the former is disabled.

Compiler still parses the dead branch and complains about the missing
struct members.
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux