Skip to content

Commit

Permalink
ARM: imx: remove unnecessary inclusion from device-imx*.h
Browse files Browse the repository at this point in the history
There is no need for device-imx*.h to include <soc>.h.  Remove them
and fix one indirect inclusion in mach-mx31ads.c.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
  • Loading branch information
Shawn Guo committed Oct 15, 2012
1 parent 267dd34 commit c45b134
Show file tree
Hide file tree
Showing 9 changed files with 1 addition and 8 deletions.
1 change: 0 additions & 1 deletion arch/arm/mach-imx/devices-imx1.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
* the terms of the GNU General Public License version 2 as published by the
* Free Software Foundation.
*/
#include <mach/mx1.h>
#include <mach/devices-common.h>

extern const struct imx_imx_fb_data imx1_imx_fb_data;
Expand Down
1 change: 0 additions & 1 deletion arch/arm/mach-imx/devices-imx21.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
* the terms of the GNU General Public License version 2 as published by the
* Free Software Foundation.
*/
#include <mach/mx21.h>
#include <mach/devices-common.h>

extern const struct imx_imx21_hcd_data imx21_imx21_hcd_data;
Expand Down
1 change: 0 additions & 1 deletion arch/arm/mach-imx/devices-imx25.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
* the terms of the GNU General Public License version 2 as published by the
* Free Software Foundation.
*/
#include <mach/mx25.h>
#include <mach/devices-common.h>

extern const struct imx_fec_data imx25_fec_data;
Expand Down
1 change: 0 additions & 1 deletion arch/arm/mach-imx/devices-imx27.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
* the terms of the GNU General Public License version 2 as published by the
* Free Software Foundation.
*/
#include <mach/mx27.h>
#include <mach/devices-common.h>

extern const struct imx_fec_data imx27_fec_data;
Expand Down
1 change: 0 additions & 1 deletion arch/arm/mach-imx/devices-imx31.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
* the terms of the GNU General Public License version 2 as published by the
* Free Software Foundation.
*/
#include <mach/mx31.h>
#include <mach/devices-common.h>

extern const struct imx_fsl_usb2_udc_data imx31_fsl_usb2_udc_data;
Expand Down
1 change: 0 additions & 1 deletion arch/arm/mach-imx/devices-imx35.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
* the terms of the GNU General Public License version 2 as published by the
* Free Software Foundation.
*/
#include <mach/mx35.h>
#include <mach/devices-common.h>

extern const struct imx_fec_data imx35_fec_data;
Expand Down
1 change: 0 additions & 1 deletion arch/arm/mach-imx/devices-imx50.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/

#include <mach/mx50.h>
#include <mach/devices-common.h>

extern const struct imx_imx_uart_1irq_data imx50_imx_uart_data[];
Expand Down
1 change: 0 additions & 1 deletion arch/arm/mach-imx/devices-imx51.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
* the terms of the GNU General Public License version 2 as published by the
* Free Software Foundation.
*/
#include <mach/mx51.h>
#include <mach/devices-common.h>

extern const struct imx_fec_data imx51_fec_data;
Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-imx/mach-mx31ads.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#include <asm/memory.h>
#include <asm/mach/map.h>
#include <mach/common.h>
#include <mach/hardware.h>

#ifdef CONFIG_MACH_MX31ADS_WM1133_EV1
#include <linux/mfd/wm8350/audio.h>
Expand Down

0 comments on commit c45b134

Please sign in to comment.