Skip to content

Commit

Permalink
ARM: mxs: remove common.h
Browse files Browse the repository at this point in the history
All three remaining functions declared in common.h are implemented by
clock driver.  Create header include/linux/clk/mxs.h to contain them
and remove common.h.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
  • Loading branch information
Shawn Guo committed Apr 1, 2013
1 parent 1bff2d7 commit 3cb7825
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 21 deletions.
20 changes: 0 additions & 20 deletions arch/arm/mach-mxs/include/mach/common.h

This file was deleted.

2 changes: 1 addition & 1 deletion arch/arm/mach-mxs/mach-mxs.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
*/

#include <linux/clk.h>
#include <linux/clk/mxs.h>
#include <linux/clkdev.h>
#include <linux/clocksource.h>
#include <linux/can/platform/flexcan.h>
Expand All @@ -30,7 +31,6 @@
#include <asm/mach/map.h>
#include <asm/mach/time.h>
#include <asm/system_misc.h>
#include <mach/common.h>
#include <mach/digctl.h>
#include <mach/mxs.h>

Expand Down
16 changes: 16 additions & 0 deletions include/linux/clk/mxs.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/*
* Copyright (C) 2013 Freescale Semiconductor, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/

#ifndef __LINUX_CLK_MXS_H
#define __LINUX_CLK_MXS_H

int mx23_clocks_init(void);
int mx28_clocks_init(void);
int mxs_saif_clkmux_select(unsigned int clkmux);

#endif

0 comments on commit 3cb7825

Please sign in to comment.