diff options
| author | Jordan Crouse <jcrouse@codeaurora.org> | 2016-02-25 09:16:22 -0700 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 11:15:48 -0700 |
| commit | e64e0d283a6be977af3bfba4f9a559630a7836ee (patch) | |
| tree | 360f756c7768ddcebc56b8fbb6d8f25359734534 /include | |
| parent | 5a9fde57cf7d5398bf4c654e9176e9b627a96bf1 (diff) | |
coresight: of_get_coresight_platform_data needs both OF and CORESIGHT
The file that defines of_get_coresight_platform_data() is indeed
dependent on CONFIG_OF but the entire coresight directory depends
on CONFIG_CORESIGHT so both need to be enabled to make the symbol
resolve.
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/coresight.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/coresight.h b/include/linux/coresight.h index d22570d2a646..3a3ba938ff01 100644 --- a/include/linux/coresight.h +++ b/include/linux/coresight.h @@ -248,7 +248,7 @@ static inline int coresight_timeout(void __iomem *addr, u32 offset, int position, int value) { return 1; } #endif -#ifdef CONFIG_OF +#if defined(CONFIG_OF) && defined(CONFIG_CORESIGHT) extern struct coresight_platform_data *of_get_coresight_platform_data( struct device *dev, struct device_node *node); #else |
