Commit 10cffde4 authored by Axel Lin's avatar Axel Lin Committed by Lee Jones
Browse files

mfd: at91-usart: Constify at91_usart_spi_subdev and at91_usart_serial_subdev



They are never get changed, make them constant.
While at it, fix indent as well.

Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent 422dcafe
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -15,12 +15,12 @@
#include <linux/of.h>
#include <linux/property.h>

static struct mfd_cell at91_usart_spi_subdev = {
static const struct mfd_cell at91_usart_spi_subdev = {
	.name = "at91_usart_spi",
	.of_compatible = "microchip,at91sam9g45-usart-spi",
};

static struct mfd_cell at91_usart_serial_subdev = {
static const struct mfd_cell at91_usart_serial_subdev = {
	.name = "atmel_usart_serial",
	.of_compatible = "atmel,at91rm9200-usart-serial",
};