Skip to content

Commit

Permalink
clk: meson8b: Properly include clk.h
Browse files Browse the repository at this point in the history
Clock provider drivers generally shouldn't include clk.h because
it's the consumer API. Only include clk.h if it's actually used.

Cc: Carlo Caione <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
  • Loading branch information
bebarino committed Jul 20, 2015
1 parent c726639 commit c0eb1df
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions drivers/clk/meson/clk-cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
#include <linux/module.h>
#include <linux/of_address.h>
#include <linux/slab.h>
#include <linux/clk.h>
#include <linux/clk-provider.h>

#define MESON_CPU_CLK_CNTL1 0x00
Expand Down
1 change: 0 additions & 1 deletion drivers/clk/meson/clkc.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
* this program. If not, see <http://www.gnu.org/licenses/>.
*/

#include <linux/clk.h>
#include <linux/clk-provider.h>
#include <linux/mfd/syscon.h>
#include <linux/slab.h>
Expand Down

0 comments on commit c0eb1df

Please sign in to comment.