Skip to content

Commit

Permalink
clk: imx: Explicitly include bits.h
Browse files Browse the repository at this point in the history
It is better to explicitly include the required header file rather
then get it through some recursive include.

Signed-off-by: Anson Huang <[email protected]>
Acked-by: Stephen Boyd <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
  • Loading branch information
Anson-Huang authored and Shawn Guo committed Aug 22, 2020
1 parent e0d0d4d commit 7d6b5e4
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 1 deletion.
1 change: 1 addition & 0 deletions drivers/clk/imx/clk-busy.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* Copyright 2012 Linaro Ltd.
*/

#include <linux/bits.h>
#include <linux/clk.h>
#include <linux/clk-provider.h>
#include <linux/io.h>
Expand Down
1 change: 1 addition & 0 deletions drivers/clk/imx/clk-composite-7ulp.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*
*/

#include <linux/bits.h>
#include <linux/clk-provider.h>
#include <linux/err.h>
#include <linux/slab.h>
Expand Down
1 change: 1 addition & 0 deletions drivers/clk/imx/clk-fixup-mux.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* Copyright (C) 2013 Freescale Semiconductor, Inc.
*/

#include <linux/bits.h>
#include <linux/clk-provider.h>
#include <linux/err.h>
#include <linux/io.h>
Expand Down
1 change: 1 addition & 0 deletions drivers/clk/imx/clk-imx6q.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

#include <linux/init.h>
#include <linux/types.h>
#include <linux/bits.h>
#include <linux/clk.h>
#include <linux/clkdev.h>
#include <linux/clk-provider.h>
Expand Down
1 change: 1 addition & 0 deletions drivers/clk/imx/clk-imx6sx.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*/

#include <dt-bindings/clock/imx6sx-clock.h>
#include <linux/bits.h>
#include <linux/clk.h>
#include <linux/clkdev.h>
#include <linux/clk-provider.h>
Expand Down
1 change: 1 addition & 0 deletions drivers/clk/imx/clk-imx7d.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*/

#include <dt-bindings/clock/imx7d-clock.h>
#include <linux/bits.h>
#include <linux/clk.h>
#include <linux/clkdev.h>
#include <linux/clk-provider.h>
Expand Down
1 change: 1 addition & 0 deletions drivers/clk/imx/clk-lpcg-scu.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* Dong Aisheng <[email protected]>
*/

#include <linux/bits.h>
#include <linux/clk-provider.h>
#include <linux/err.h>
#include <linux/io.h>
Expand Down
2 changes: 1 addition & 1 deletion drivers/clk/imx/clk-pll14xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Copyright 2017-2018 NXP.
*/

#include <linux/bitops.h>
#include <linux/bits.h>
#include <linux/clk-provider.h>
#include <linux/err.h>
#include <linux/export.h>
Expand Down
1 change: 1 addition & 0 deletions drivers/clk/imx/clk-pllv1.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: GPL-2.0
#include <linux/bits.h>
#include <linux/clk-provider.h>
#include <linux/io.h>
#include <linux/slab.h>
Expand Down
1 change: 1 addition & 0 deletions drivers/clk/imx/clk-pllv4.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*
*/

#include <linux/bits.h>
#include <linux/clk-provider.h>
#include <linux/err.h>
#include <linux/io.h>
Expand Down
1 change: 1 addition & 0 deletions drivers/clk/imx/clk-vf610.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*/

#include <linux/of_address.h>
#include <linux/bits.h>
#include <linux/clk.h>
#include <linux/syscore_ops.h>
#include <dt-bindings/clock/vf610-clock.h>
Expand Down
1 change: 1 addition & 0 deletions drivers/clk/imx/clk.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: GPL-2.0
#include <linux/bits.h>
#include <linux/clk.h>
#include <linux/clk-provider.h>
#include <linux/err.h>
Expand Down
1 change: 1 addition & 0 deletions drivers/clk/imx/clk.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#ifndef __MACH_IMX_CLK_H
#define __MACH_IMX_CLK_H

#include <linux/bits.h>
#include <linux/spinlock.h>
#include <linux/clk-provider.h>

Expand Down

0 comments on commit 7d6b5e4

Please sign in to comment.