Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 63a97a70 authored by Christian Lütke-Stetzkamp's avatar Christian Lütke-Stetzkamp Committed by Greg Kroah-Hartman
Browse files

staging: mt7621-mmc: Fix spacing



Fixes checkpatch errors, warnings, checks:
SPACING, LEADING_SPACE, LINE_SPACING

Signed-off-by: default avatarChristian Lütke-Stetzkamp <christian@lkamp.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b21f5195
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -57,7 +57,6 @@ typedef void (*pm_callback_t)(pm_message_t state, void *data);
#define MSDC_UHS1           (1 << 8)  /* uhs-1 mode support            */
#define MSDC_DDR            (1 << 9)  /* ddr mode support              */


#define MSDC_SMPL_RISING    (0)
#define MSDC_SMPL_FALLING   (1)

@@ -118,6 +117,7 @@ struct mt3326_gps_hardware {
	int (*ext_power_on)(int);
	int (*ext_power_off)(int);
};

extern struct mt3326_gps_hardware mt3326_gps_hw;

/* NAND driver */
@@ -131,6 +131,7 @@ struct mt6575_nand_host_hw {
	unsigned int nand_ecc_bytes;
	unsigned int nand_ecc_mode;
};

extern struct mt6575_nand_host_hw mt6575_nand_hw;

#endif /* __ARCH_ARM_MACH_BOARD_H */
+34 −33
Original line number Diff line number Diff line
@@ -65,6 +65,7 @@ u32 dma_size[4]={
	512,
	512
};

msdc_mode drv_mode[4] = {
	MODE_SIZE_DEP, /* using DMA or not depend on the size */
	MODE_SIZE_DEP,
+31 −30
Original line number Diff line number Diff line
@@ -974,6 +974,7 @@ static inline unsigned int uffs(unsigned int x)
	}
	return r;
}

#define sdr_read8(reg)           __raw_readb(reg)
#define sdr_read16(reg)          __raw_readw(reg)
#define sdr_read32(reg)          __raw_readl(reg)
+122 −123
Original line number Diff line number Diff line
@@ -80,7 +80,6 @@
#include <asm/dma.h>
/* end of +++ */


#include <asm/mach-ralink/ralink_regs.h>

#if 0 /* --- by chhung */
@@ -257,7 +256,6 @@ static int msdc_rsp[] = {
#define msdc_fifo_read32()   sdr_read32(MSDC_RXDATA)
#define msdc_fifo_read8()    sdr_read8(MSDC_RXDATA)


#define msdc_dma_on()        sdr_clr_bits(MSDC_CFG, MSDC_CFG_PIO)
#define msdc_dma_off()       sdr_set_bits(MSDC_CFG, MSDC_CFG_PIO)

@@ -1413,6 +1411,7 @@ static void msdc_dma_dump(struct msdc_host *host, struct msdc_dma *dma)
static u8 msdc_dma_calcs(u8 *buf, u32 len)
{
	u32 i, sum = 0;

	for (i = 0; i < len; i++) {
		sum += buf[i];
	}
+8 −8

File changed.

Contains only whitespace changes.