Commit ceb49512 authored by Will Deacon's avatar Will Deacon

arm-cci: make private functions static

cci_pmu_sync_counters and pmu_event_set_period are internal functions
to the CCI PMU driver, so make them static to avoid polluting the kernel
namespace.
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
parent d7dd5fd7
......@@ -673,7 +673,7 @@ static int cci550_validate_hw_event(struct cci_pmu *cci_pmu,
* with the event period and mark them ready before we enable
* PMU.
*/
void cci_pmu_sync_counters(struct cci_pmu *cci_pmu)
static void cci_pmu_sync_counters(struct cci_pmu *cci_pmu)
{
int i;
struct cci_pmu_hw_events *cci_hw = &cci_pmu->hw_events;
......@@ -1038,7 +1038,7 @@ static void pmu_read(struct perf_event *event)
pmu_event_update(event);
}
void pmu_event_set_period(struct perf_event *event)
static void pmu_event_set_period(struct perf_event *event)
{
struct hw_perf_event *hwc = &event->hw;
/*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment