include: linux: remove unused APIs when CORESIGHT is disabled

Remove unused apis when the config CORESIGHT is disabled to avoid
compilation error.

Change-Id: I1a05d26d8f07fc70c3f061c5d5debe1f4fb7edaa
Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
This commit is contained in:
Jeevan Shriram 2020-04-24 11:44:33 -07:00
parent 51baf5ad2c
commit cab5940348

View file

@ -343,8 +343,6 @@ static inline int coresight_enable_reg_clk(struct coresight_device *csdev)
{
return -EINVAL;
}
static void coresight_disable_all_source_link(void) {};
static void coresight_enable_all_source_link(void) {};
#endif
extern int coresight_get_cpu(struct device *dev);