mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
Fix include paths for in-tree builds
Some source files include header files using <> even though the header file is not in a directory typically in the system include path. This works when compiling the kernel with an O= option (which stores built files outside the source tree) because the kernel adds various extra source paths to the system include path. However, this doesn't happen when building in-tree, so the source must be fixed to use "" for "local" files. Similarly, fix one usage of "" where no path was specified in the "" filename, whereas the header was in a relative directory to the source. Again, with O= I believe this works because the kernel added the file's location into the include path, but doesn't for in-tree builds. Note: Parts of the original commit apply to source that has been moved to linux-nvidia.git; see change Icf4f94b671e73c0a889bb996edc3f15d5fbde98b for that part of the original rel-28 change. Bug 1978388 Change-Id: I907c88a4822b309a33c031ec21dd215047ea3e94 Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1544318 Reviewed-on: https://git-master.nvidia.com/r/1545674 Reviewed-on: https://git-master.nvidia.com/r/1546976 (cherry picked from linux-4.9 commit cc6281afdbe059734d53f54020f1ead0b5cf3659) Reviewed-on: https://git-master.nvidia.com/r/1770153 Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Timo Alho <talho@nvidia.com> Tested-by: Timo Alho <talho@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
Laxman Dewangan
parent
297a2218f1
commit
1aeace4daf
@@ -36,7 +36,7 @@
|
||||
#define CREATE_TRACE_POINTS
|
||||
#include <trace/events/nvhost_podgov.h>
|
||||
|
||||
#include <governor.h>
|
||||
#include "governor.h"
|
||||
|
||||
#include <linux/platform_device.h>
|
||||
#include <linux/pm_runtime.h>
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
#include <linux/platform_device.h>
|
||||
#include <linux/module.h>
|
||||
|
||||
#include <governor.h>
|
||||
#include "governor.h"
|
||||
|
||||
struct wmark_gov_info {
|
||||
/* probed from the devfreq */
|
||||
|
||||
Reference in New Issue
Block a user