Commit e8030297 authored by Nicolas Kaiser's avatar Nicolas Kaiser Committed by Greg Kroah-Hartman

staging: spectra: remove duplicated includes

Remove duplicated includes.
Signed-off-by: default avatarNicolas Kaiser <nikai@nikai.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 3f609dd6
...@@ -25,6 +25,10 @@ ...@@ -25,6 +25,10 @@
#include "lld.h" #include "lld.h"
#if CMD_DMA #if CMD_DMA
#include "lld_cdma.h" #include "lld_cdma.h"
#if FLASH_EMU
u32 totalUsedBanks;
u32 valid_banks[MAX_CHANS];
#endif
#endif #endif
#define GLOB_LLD_PAGES 64 #define GLOB_LLD_PAGES 64
...@@ -32,12 +36,6 @@ ...@@ -32,12 +36,6 @@
#define GLOB_LLD_PAGE_DATA_SIZE 512 #define GLOB_LLD_PAGE_DATA_SIZE 512
#define GLOB_LLD_BLOCKS 2048 #define GLOB_LLD_BLOCKS 2048
#if (CMD_DMA && FLASH_EMU)
#include "lld_cdma.h"
u32 totalUsedBanks;
u32 valid_banks[MAX_CHANS];
#endif
#if FLASH_EMU /* This is for entire module */ #if FLASH_EMU /* This is for entire module */
static u8 *flash_memory[GLOB_LLD_BLOCKS * GLOB_LLD_PAGES]; static u8 *flash_memory[GLOB_LLD_BLOCKS * GLOB_LLD_PAGES];
......
...@@ -26,6 +26,8 @@ ...@@ -26,6 +26,8 @@
#include "lld.h" #include "lld.h"
#if CMD_DMA #if CMD_DMA
#include "lld_cdma.h" #include "lld_cdma.h"
u32 totalUsedBanks;
u32 valid_banks[MAX_CHANS];
#endif #endif
#define GLOB_LLD_PAGES 64 #define GLOB_LLD_PAGES 64
...@@ -33,12 +35,6 @@ ...@@ -33,12 +35,6 @@
#define GLOB_LLD_PAGE_DATA_SIZE 512 #define GLOB_LLD_PAGE_DATA_SIZE 512
#define GLOB_LLD_BLOCKS 2048 #define GLOB_LLD_BLOCKS 2048
#if CMD_DMA
#include "lld_cdma.h"
u32 totalUsedBanks;
u32 valid_banks[MAX_CHANS];
#endif
static struct mtd_info *spectra_mtd; static struct mtd_info *spectra_mtd;
static int mtddev = -1; static int mtddev = -1;
module_param(mtddev, int, 0); module_param(mtddev, int, 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment