.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * twl4030-irq.c - TWL4030/TPS659x0 irq support |
---|
3 | 4 | * |
---|
.. | .. |
---|
11 | 12 | * |
---|
12 | 13 | * Code cleanup and modifications to IRQ handler. |
---|
13 | 14 | * 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 |
---|
28 | 15 | */ |
---|
29 | 16 | |
---|
30 | 17 | #include <linux/export.h> |
---|
.. | .. |
---|
490 | 477 | |
---|
491 | 478 | if (agent->imr_change_pending) { |
---|
492 | 479 | union { |
---|
493 | | - u32 word; |
---|
| 480 | + __le32 word; |
---|
494 | 481 | u8 bytes[4]; |
---|
495 | 482 | } imr; |
---|
496 | 483 | |
---|
.. | .. |
---|
574 | 561 | int status; |
---|
575 | 562 | union { |
---|
576 | 563 | u8 bytes[4]; |
---|
577 | | - u32 word; |
---|
| 564 | + __le32 word; |
---|
578 | 565 | } isr; |
---|
579 | 566 | |
---|
580 | 567 | /* FIXME need retry-on-error ... */ |
---|