Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions drivers/devfreq/governor.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Compatibility wrapper for out-of-tree drivers.
*
* drivers/devfreq/governor.h was moved to include/linux/devfreq-governor.h
* by commit 6df46fd1d1b5 ("FROMGIT: PM / devfreq: Move governor.h to a
* public header location"), which was backported into qcom-6.18.y.
*
* Out-of-tree modules (e.g. kgsl-dlkm) that add the devfreq drivers/
* directory to their include path via -I$(KERNEL_SRC)/drivers/devfreq and
* use #include "governor.h" will land here and be transparently redirected
* to the new public header location.
*
* New drivers must use #include <linux/devfreq-governor.h> directly.
* This shim will be removed once all known consumers are updated.
*/
#ifndef __DEVFREQ_GOVERNOR_COMPAT_H
#define __DEVFREQ_GOVERNOR_COMPAT_H

#include <linux/devfreq-governor.h>

#endif /* __DEVFREQ_GOVERNOR_COMPAT_H */
Loading