| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (c) Intel Corp. 2007. |
|---|
| 3 | 4 | * All Rights Reserved. |
|---|
| .. | .. |
|---|
| 6 | 7 | * develop this driver. |
|---|
| 7 | 8 | * |
|---|
| 8 | 9 | * This file is part of the Carillo Ranch video subsystem driver. |
|---|
| 9 | | - * The Carillo Ranch video subsystem driver is free software; |
|---|
| 10 | | - * you can redistribute it and/or modify |
|---|
| 11 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 12 | | - * the Free Software Foundation; either version 2 of the License, or |
|---|
| 13 | | - * (at your option) any later version. |
|---|
| 14 | | - * |
|---|
| 15 | | - * The Carillo Ranch video subsystem driver is distributed |
|---|
| 16 | | - * in the hope that it will be useful, |
|---|
| 17 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 18 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 19 | | - * GNU General Public License for more details. |
|---|
| 20 | | - * |
|---|
| 21 | | - * You should have received a copy of the GNU General Public License |
|---|
| 22 | | - * along with this driver; if not, write to the Free Software |
|---|
| 23 | | - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
|---|
| 24 | 10 | * |
|---|
| 25 | 11 | * Authors: |
|---|
| 26 | 12 | * Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> |
|---|
| .. | .. |
|---|
| 173 | 159 | pci_read_config_dword(mch_dev, CRVML_REG_MCHBAR, |
|---|
| 174 | 160 | &mch_bar); |
|---|
| 175 | 161 | mch_regs_base = |
|---|
| 176 | | - ioremap_nocache(mch_bar, CRVML_MCHMAP_SIZE); |
|---|
| 162 | + ioremap(mch_bar, CRVML_MCHMAP_SIZE); |
|---|
| 177 | 163 | if (!mch_regs_base) { |
|---|
| 178 | 164 | printk(KERN_ERR |
|---|
| 179 | 165 | "Carillo Ranch MCH device was not enabled.\n"); |
|---|