hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm/mach-pxa/zylonite_pxa300.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * linux/arch/arm/mach-pxa/zylonite_pxa300.c
34 *
....@@ -7,10 +8,6 @@
78 * Copyright (C) 2007 Marvell Internation Ltd.
89 * 2007-08-21: eric miao <eric.miao@marvell.com>
910 * initial version
10
- *
11
- * This program is free software; you can redistribute it and/or modify
12
- * it under the terms of the GNU General Public License version 2 as
13
- * published by the Free Software Foundation.
1411 */
1512
1613 #include <linux/module.h>
....@@ -230,11 +227,13 @@
230227 static struct i2c_board_info zylonite_i2c_board_info[] = {
231228 {
232229 .type = "pca9539",
230
+ .dev_name = "pca9539-a",
233231 .addr = 0x74,
234232 .platform_data = &gpio_exp[0],
235233 .irq = PXA_GPIO_TO_IRQ(18),
236234 }, {
237235 .type = "pca9539",
236
+ .dev_name = "pca9539-b",
238237 .addr = 0x75,
239238 .platform_data = &gpio_exp[1],
240239 .irq = PXA_GPIO_TO_IRQ(19),