aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clk/socfpga/clk-periph-a10.c
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2015-06-19 15:00:46 -0700
committerStephen Boyd <sboyd@codeaurora.org>2015-07-20 11:11:14 -0700
commitb0af24b523c21c918eb64541df4450b9da7ed195 (patch)
tree2aa328815ac36076b5c65403f7ca116a6dce3ff4 /drivers/clk/socfpga/clk-periph-a10.c
parentclk: sirf: Properly include clk.h (diff)
downloadlinux-dev-b0af24b523c21c918eb64541df4450b9da7ed195.tar.xz
linux-dev-b0af24b523c21c918eb64541df4450b9da7ed195.zip
clk: socfpga: Remove clk.h and clkdev.h includes
Clock provider drivers generally shouldn't include clk.h because it's the consumer API. Remove the include here because this is a provider driver. The clkdev.h include isn't used either, remove it and add in slab.h to make sure things keep compiling. Acked-by: Dinh Nguyen <dinguyen@opensource.altera.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/socfpga/clk-periph-a10.c')
-rw-r--r--drivers/clk/socfpga/clk-periph-a10.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/socfpga/clk-periph-a10.c b/drivers/clk/socfpga/clk-periph-a10.c
index 9d0181b5a6a4..64f93acbbd25 100644
--- a/drivers/clk/socfpga/clk-periph-a10.c
+++ b/drivers/clk/socfpga/clk-periph-a10.c
@@ -13,6 +13,7 @@
* You should have received a copy of the GNU General Public License along with
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include <linux/slab.h>
#include <linux/clk-provider.h>
#include <linux/io.h>
#include <linux/of.h>