Skip to content

Commit

Permalink
SPI: OMAP: remove unnecessary includes of plat/clock.h
Browse files Browse the repository at this point in the history
Remove unnecessary includes of plat/clock.h from the OMAP SPI
controller drivers.  These need to be removed to build multi-subarch
ARM kernels which include these drivers.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
  • Loading branch information
Paul Walmsley committed Sep 22, 2012
1 parent fabcf41 commit a04bcc2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions drivers/spi/spi-omap-100k.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@

#include <linux/spi/spi.h>

#include <plat/clock.h>

#define OMAP1_SPI100K_MAX_FREQ 48000000

#define ICR_SPITAS (OMAP7XX_ICR_BASE + 0x12)
Expand Down
1 change: 0 additions & 1 deletion drivers/spi/spi-omap2-mcspi.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@

#include <linux/spi/spi.h>

#include <plat/clock.h>
#include <plat/mcspi.h>

#define OMAP2_MCSPI_MAX_FREQ 48000000
Expand Down

0 comments on commit a04bcc2

Please sign in to comment.