| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (c) 2014-2015 Hisilicon Limited. |
|---|
| 3 | | - * |
|---|
| 4 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 5 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 6 | | - * the Free Software Foundation; either version 2 of the License, or |
|---|
| 7 | | - * (at your option) any later version. |
|---|
| 8 | 4 | */ |
|---|
| 9 | 5 | |
|---|
| 10 | 6 | #ifndef __HNAE_H |
|---|
| .. | .. |
|---|
| 354 | 350 | }; |
|---|
| 355 | 351 | |
|---|
| 356 | 352 | struct hnae_queue { |
|---|
| 357 | | - void __iomem *io_base; |
|---|
| 353 | + u8 __iomem *io_base; |
|---|
| 358 | 354 | phys_addr_t phy_base; |
|---|
| 359 | 355 | struct hnae_ae_dev *dev; /* the device who use this queue */ |
|---|
| 360 | 356 | struct hnae_ring rx_ring ____cacheline_internodealigned_in_smp; |
|---|