hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/drivers/mfd/twl4030-irq.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * twl4030-irq.c - TWL4030/TPS659x0 irq support
34 *
....@@ -11,20 +12,6 @@
1112 *
1213 * Code cleanup and modifications to IRQ handler.
1314 * by syed khasim <x0khasim@ti.com>
14
- *
15
- * This program is free software; you can redistribute it and/or modify
16
- * it under the terms of the GNU General Public License as published by
17
- * the Free Software Foundation; either version 2 of the License, or
18
- * (at your option) any later version.
19
- *
20
- * This program is distributed in the hope that it will be useful,
21
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
22
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23
- * GNU General Public License for more details.
24
- *
25
- * You should have received a copy of the GNU General Public License
26
- * along with this program; if not, write to the Free Software
27
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
2815 */
2916
3017 #include <linux/export.h>
....@@ -490,7 +477,7 @@
490477
491478 if (agent->imr_change_pending) {
492479 union {
493
- u32 word;
480
+ __le32 word;
494481 u8 bytes[4];
495482 } imr;
496483
....@@ -574,7 +561,7 @@
574561 int status;
575562 union {
576563 u8 bytes[4];
577
- u32 word;
564
+ __le32 word;
578565 } isr;
579566
580567 /* FIXME need retry-on-error ... */