Commit 130fbeb1c51f19a2b81c4e27d23da735b5b235d4

Authored by Tom Rini
1 parent 17eb1d8f57

blackfin: Add <asm/clock.h> to numerous drivers

With d6a320d we moved some clock externs out of blackfin_local.h and
into clock.h but now need to include <asm/clock.h> in more drivers to
avoid warnings.

Cc: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Tom Rini <trini@ti.com>

Showing 7 changed files with 7 additions and 0 deletions Side-by-side Diff

arch/blackfin/lib/board.c
... ... @@ -23,6 +23,7 @@
23 23  
24 24 #include <asm/cplb.h>
25 25 #include <asm/mach-common/bits/mpu.h>
  26 +#include <asm/clock.h>
26 27 #include <kgdb.h>
27 28  
28 29 #ifdef CONFIG_CMD_NAND
board/cm-bf548/video.c
... ... @@ -11,6 +11,7 @@
11 11 #include <config.h>
12 12 #include <malloc.h>
13 13 #include <asm/blackfin.h>
  14 +#include <asm/clock.h>
14 15 #include <asm/gpio.h>
15 16 #include <asm/portmux.h>
16 17 #include <asm/mach-common/bits/dma.h>
... ... @@ -18,6 +18,7 @@
18 18 #include <command.h>
19 19  
20 20 #include <asm/blackfin.h>
  21 +#include <asm/clock.h>
21 22 #include <asm/mach-common/bits/otp.h>
22 23  
23 24 static const char *otp_strerror(uint32_t err)
drivers/block/pata_bfin.c
... ... @@ -12,6 +12,7 @@
12 12 #include <command.h>
13 13 #include <config.h>
14 14 #include <asm/byteorder.h>
  15 +#include <asm/clock.h>
15 16 #include <asm/io.h>
16 17 #include <asm/errno.h>
17 18 #include <asm/portmux.h>
drivers/mmc/bfin_sdh.c
... ... @@ -15,6 +15,7 @@
15 15 #include <asm/errno.h>
16 16 #include <asm/byteorder.h>
17 17 #include <asm/blackfin.h>
  18 +#include <asm/clock.h>
18 19 #include <asm/portmux.h>
19 20 #include <asm/mach-common/bits/sdh.h>
20 21 #include <asm/mach-common/bits/dma.h>
drivers/net/bfin_mac.c
... ... @@ -16,6 +16,7 @@
16 16 #include <linux/mii.h>
17 17  
18 18 #include <asm/blackfin.h>
  19 +#include <asm/clock.h>
19 20 #include <asm/portmux.h>
20 21 #include <asm/mach-common/bits/dma.h>
21 22 #include <asm/mach-common/bits/emac.h>
drivers/usb/musb/blackfin_usb.c
... ... @@ -11,6 +11,7 @@
11 11 #include <usb.h>
12 12  
13 13 #include <asm/blackfin.h>
  14 +#include <asm/clock.h>
14 15 #include <asm/mach-common/bits/usb.h>
15 16  
16 17 #include "musb_core.h"