Skip to content

Commit

Permalink
PM / OPP: switch exported symbols to GPL variant
Browse files Browse the repository at this point in the history
We are GPLV2 library, so be clear in the symbols exported as well.

Signed-off-by: Nishanth Menon <nm@ti.com>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
  • Loading branch information
Nishanth Menon authored and Rafael J. Wysocki committed Feb 1, 2013
1 parent 6754f55 commit b2ccd76
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions drivers/base/power/opp.c
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ unsigned long opp_get_voltage(struct opp *opp)

return v;
}
EXPORT_SYMBOL(opp_get_voltage);
EXPORT_SYMBOL_GPL(opp_get_voltage);

/**
* opp_get_freq() - Gets the frequency corresponding to an available opp
Expand Down Expand Up @@ -192,7 +192,7 @@ unsigned long opp_get_freq(struct opp *opp)

return f;
}
EXPORT_SYMBOL(opp_get_freq);
EXPORT_SYMBOL_GPL(opp_get_freq);

/**
* opp_get_opp_count() - Get number of opps available in the opp list
Expand Down Expand Up @@ -225,7 +225,7 @@ int opp_get_opp_count(struct device *dev)

return count;
}
EXPORT_SYMBOL(opp_get_opp_count);
EXPORT_SYMBOL_GPL(opp_get_opp_count);

/**
* opp_find_freq_exact() - search for an exact frequency
Expand Down Expand Up @@ -276,7 +276,7 @@ struct opp *opp_find_freq_exact(struct device *dev, unsigned long freq,

return opp;
}
EXPORT_SYMBOL(opp_find_freq_exact);
EXPORT_SYMBOL_GPL(opp_find_freq_exact);

/**
* opp_find_freq_ceil() - Search for an rounded ceil freq
Expand Down Expand Up @@ -323,7 +323,7 @@ struct opp *opp_find_freq_ceil(struct device *dev, unsigned long *freq)

return opp;
}
EXPORT_SYMBOL(opp_find_freq_ceil);
EXPORT_SYMBOL_GPL(opp_find_freq_ceil);

/**
* opp_find_freq_floor() - Search for a rounded floor freq
Expand Down Expand Up @@ -374,7 +374,7 @@ struct opp *opp_find_freq_floor(struct device *dev, unsigned long *freq)

return opp;
}
EXPORT_SYMBOL(opp_find_freq_floor);
EXPORT_SYMBOL_GPL(opp_find_freq_floor);

/**
* opp_add() - Add an OPP table from a table definitions
Expand Down Expand Up @@ -568,7 +568,7 @@ int opp_enable(struct device *dev, unsigned long freq)
{
return opp_set_availability(dev, freq, true);
}
EXPORT_SYMBOL(opp_enable);
EXPORT_SYMBOL_GPL(opp_enable);

/**
* opp_disable() - Disable a specific OPP
Expand All @@ -590,7 +590,7 @@ int opp_disable(struct device *dev, unsigned long freq)
{
return opp_set_availability(dev, freq, false);
}
EXPORT_SYMBOL(opp_disable);
EXPORT_SYMBOL_GPL(opp_disable);

#ifdef CONFIG_CPU_FREQ
/**
Expand Down

0 comments on commit b2ccd76

Please sign in to comment.