hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm/mach-pxa/stargate2.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * linux/arch/arm/mach-pxa/stargate2.c
34 *
....@@ -6,10 +7,6 @@
67 * Copyright: Intel Corp.
78 *
89 * Modified 2009: Jonathan Cameron <jic23@cam.ac.uk>
9
- *
10
- * This program is free software; you can redistribute it and/or modify
11
- * it under the terms of the GNU General Public License version 2 as
12
- * published by the Free Software Foundation.
1310 */
1411
1512 #include <linux/init.h>
....@@ -337,15 +334,15 @@
337334 .num_resources = 1,
338335 };
339336
340
-static struct pxa2xx_spi_master pxa_ssp_master_0_info = {
337
+static struct pxa2xx_spi_controller pxa_ssp_master_0_info = {
341338 .num_chipselect = 1,
342339 };
343340
344
-static struct pxa2xx_spi_master pxa_ssp_master_1_info = {
341
+static struct pxa2xx_spi_controller pxa_ssp_master_1_info = {
345342 .num_chipselect = 1,
346343 };
347344
348
-static struct pxa2xx_spi_master pxa_ssp_master_2_info = {
345
+static struct pxa2xx_spi_controller pxa_ssp_master_2_info = {
349346 .num_chipselect = 1,
350347 };
351348
....@@ -436,9 +433,6 @@
436433 static struct pxamci_platform_data imote2_mci_platform_data = {
437434 .ocr_mask = MMC_VDD_32_33 | MMC_VDD_33_34, /* default anyway */
438435 .get_ro = imote2_mci_get_ro,
439
- .gpio_card_detect = -1,
440
- .gpio_card_ro = -1,
441
- .gpio_power = -1,
442436 };
443437
444438 static struct gpio_led imote2_led_pins[] = {