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

Commit 1a2d9156 authored by Jean-Christophe PLAGNIOL-VILLARD's avatar Jean-Christophe PLAGNIOL-VILLARD Committed by Arnd Bergmann
Browse files

ARM: at91: gpio make struct at91_gpio_bank an initdata



this will simplify the switch to the DT and later to the platform_device

Signed-off-by: default avatarJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
parent 619d4a4b
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -298,7 +298,7 @@ void __init at91cap9_set_console_clock(int id)
 *  GPIO
 *  GPIO
 * -------------------------------------------------------------------- */
 * -------------------------------------------------------------------- */


static struct at91_gpio_bank at91cap9_gpio[] = {
static struct at91_gpio_bank at91cap9_gpio[] __initdata = {
	{
	{
		.id		= AT91CAP9_ID_PIOABCD,
		.id		= AT91CAP9_ID_PIOABCD,
		.regbase	= AT91CAP9_BASE_PIOA,
		.regbase	= AT91CAP9_BASE_PIOA,
+1 −1
Original line number Original line Diff line number Diff line
@@ -273,7 +273,7 @@ void __init at91rm9200_set_console_clock(int id)
 *  GPIO
 *  GPIO
 * -------------------------------------------------------------------- */
 * -------------------------------------------------------------------- */


static struct at91_gpio_bank at91rm9200_gpio[] = {
static struct at91_gpio_bank at91rm9200_gpio[] __initdata = {
	{
	{
		.id		= AT91RM9200_ID_PIOA,
		.id		= AT91RM9200_ID_PIOA,
		.regbase	= AT91RM9200_BASE_PIOA,
		.regbase	= AT91RM9200_BASE_PIOA,
+1 −1
Original line number Original line Diff line number Diff line
@@ -274,7 +274,7 @@ void __init at91sam9260_set_console_clock(int id)
 *  GPIO
 *  GPIO
 * -------------------------------------------------------------------- */
 * -------------------------------------------------------------------- */


static struct at91_gpio_bank at91sam9260_gpio[] = {
static struct at91_gpio_bank at91sam9260_gpio[] __initdata = {
	{
	{
		.id		= AT91SAM9260_ID_PIOA,
		.id		= AT91SAM9260_ID_PIOA,
		.regbase	= AT91SAM9260_BASE_PIOA,
		.regbase	= AT91SAM9260_BASE_PIOA,
+1 −1
Original line number Original line Diff line number Diff line
@@ -253,7 +253,7 @@ void __init at91sam9261_set_console_clock(int id)
 *  GPIO
 *  GPIO
 * -------------------------------------------------------------------- */
 * -------------------------------------------------------------------- */


static struct at91_gpio_bank at91sam9261_gpio[] = {
static struct at91_gpio_bank at91sam9261_gpio[] __initdata = {
	{
	{
		.id		= AT91SAM9261_ID_PIOA,
		.id		= AT91SAM9261_ID_PIOA,
		.regbase	= AT91SAM9261_BASE_PIOA,
		.regbase	= AT91SAM9261_BASE_PIOA,
+1 −1
Original line number Original line Diff line number Diff line
@@ -269,7 +269,7 @@ void __init at91sam9263_set_console_clock(int id)
 *  GPIO
 *  GPIO
 * -------------------------------------------------------------------- */
 * -------------------------------------------------------------------- */


static struct at91_gpio_bank at91sam9263_gpio[] = {
static struct at91_gpio_bank at91sam9263_gpio[] __initdata = {
	{
	{
		.id		= AT91SAM9263_ID_PIOA,
		.id		= AT91SAM9263_ID_PIOA,
		.regbase	= AT91SAM9263_BASE_PIOA,
		.regbase	= AT91SAM9263_BASE_PIOA,
Loading