| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * T1042 platform DIU operation |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright 2014 Freescale Semiconductor Inc. |
|---|
| 5 | | - * |
|---|
| 6 | | - * This program is free software; you can redistribute it and/or modify it |
|---|
| 7 | | - * under the terms of the GNU General Public License as published by the |
|---|
| 8 | | - * Free Software Foundation; either version 2 of the License, or (at your |
|---|
| 9 | | - * option) any later version. |
|---|
| 10 | 6 | */ |
|---|
| 11 | 7 | |
|---|
| 12 | 8 | #include <linux/init.h> |
|---|
| .. | .. |
|---|
| 39 | 35 | */ |
|---|
| 40 | 36 | static void t1042rdb_set_monitor_port(enum fsl_diu_monitor_port port) |
|---|
| 41 | 37 | { |
|---|
| 42 | | - static void __iomem *cpld_base; |
|---|
| 38 | + void __iomem *cpld_base; |
|---|
| 43 | 39 | |
|---|
| 44 | 40 | cpld_base = of_iomap(cpld_node, 0); |
|---|
| 45 | 41 | if (!cpld_base) { |
|---|