Commit 012f6ee7 authored by Andrew Morton's avatar Andrew Morton Committed by James Toy

WARNING: line over 80 characters

#111: FILE: arch/arm/mach-at91/at91sam9260_devices.c:326:
+				at91_set_gpio_input(data->slot[i].detect_pin, 1);

ERROR: space required before the open parenthesis '('
#117: FILE: arch/arm/mach-at91/at91sam9260_devices.c:332:
+			switch(i) {

WARNING: line over 80 characters
#144: FILE: arch/arm/mach-at91/at91sam9260_devices.c:359:
+					"AT91: SD/MMC slot %d not available\n", i);

WARNING: line over 80 characters
#224: FILE: arch/arm/mach-at91/board-sam9g20ek-2slot-mmc.c:56:
+	at91_register_uart(AT91SAM9260_ID_US0, 1, ATMEL_UART_CTS | ATMEL_UART_RTS

WARNING: line over 80 characters
#229: FILE: arch/arm/mach-at91/board-sam9g20ek-2slot-mmc.c:61:
+	at91_register_uart(AT91SAM9260_ID_US1, 2, ATMEL_UART_CTS | ATMEL_UART_RTS);

WARNING: line over 80 characters
#310: FILE: arch/arm/mach-at91/board-sam9g20ek-2slot-mmc.c:142:
+static struct mtd_partition * __init nand_partitions(int size, int *num_partitions)

WARNING: line over 80 characters
#344: FILE: arch/arm/mach-at91/board-sam9g20ek-2slot-mmc.c:176:
+	.mode			= AT91_SMC_READMODE | AT91_SMC_WRITEMODE | AT91_SMC_EXNWMODE_DISABLE,

WARNING: line over 80 characters
#470: FILE: arch/arm/mach-at91/include/mach/board.h:78:
+extern void __init at91_add_device_mci(short mmc_id, struct mci_platform_data *data);

total: 1 errors, 7 warnings, 422 lines checked

./patches/at91-atmel-mci-platform-configuration-to-the-the-atmel-mci-driver.patch has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.

Please run checkpatch prior to sending patches

Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Rob Emanuele <rob@emanuele.us>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent acaa073a
......@@ -329,7 +329,7 @@ void __init at91_add_device_mci(short mmc_id, struct mci_platform_data *data)
if (data->slot[i].wp_pin)
at91_set_gpio_input(data->slot[i].wp_pin, 1);
switch(i) {
switch (i) {
case 0:
/* CMD */
at91_set_A_periph(AT91_PIN_PA7, 1);
......
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