Skip to content

Commit

Permalink
staging: spectra: remove duplicated includes
Browse files Browse the repository at this point in the history
Remove duplicated includes.

Signed-off-by: Nicolas Kaiser <nikai@nikai.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Nicolas Kaiser authored and Greg Kroah-Hartman committed Oct 5, 2010
1 parent 3f609dd commit e803029
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
10 changes: 4 additions & 6 deletions drivers/staging/spectra/lld_emu.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,17 @@
#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
#define GLOB_LLD_PAGE_SIZE (512+16)
#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];
Expand Down
8 changes: 2 additions & 6 deletions drivers/staging/spectra/lld_mtd.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,15 @@
#include "lld.h"
#if CMD_DMA
#include "lld_cdma.h"
u32 totalUsedBanks;
u32 valid_banks[MAX_CHANS];
#endif

#define GLOB_LLD_PAGES 64
#define GLOB_LLD_PAGE_SIZE (512+16)
#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);
Expand Down

0 comments on commit e803029

Please sign in to comment.