staging: spectra: remove duplicated includes

Remove duplicated includes.

Signed-off-by: Nicolas Kaiser <nikai@nikai.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Nicolas Kaiser 2010-10-04 14:10:45 +02:00 committed by Greg Kroah-Hartman
parent 3f609dd661
commit e803029770
2 changed files with 6 additions and 12 deletions

View File

@ -25,6 +25,10 @@
#include "lld.h"
#if CMD_DMA
#include "lld_cdma.h"
#if FLASH_EMU
u32 totalUsedBanks;
u32 valid_banks[MAX_CHANS];
#endif
#endif
#define GLOB_LLD_PAGES 64
@ -32,12 +36,6 @@
#define GLOB_LLD_PAGE_DATA_SIZE 512
#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 */
static u8 *flash_memory[GLOB_LLD_BLOCKS * GLOB_LLD_PAGES];

View File

@ -26,6 +26,8 @@
#include "lld.h"
#if CMD_DMA
#include "lld_cdma.h"
u32 totalUsedBanks;
u32 valid_banks[MAX_CHANS];
#endif
#define GLOB_LLD_PAGES 64
@ -33,12 +35,6 @@
#define GLOB_LLD_PAGE_DATA_SIZE 512
#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 int mtddev = -1;
module_param(mtddev, int, 0);