diff options
| author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-10-30 09:54:10 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-10-30 09:56:09 +0100 |
| commit | c312b8b3c1279d3b3d9f71f027d945898173fded (patch) | |
| tree | 330920b092bf4d7957ed07da7ff2d2913195635a /drivers/staging/octeon/ethernet.c | |
| parent | 41196b0bbe8a1ce663b85aca2141800214c186f1 (diff) | |
Revert "staging: octeon: remove typedef in structs cvmx_pip_port_status_t and cvmx_pko_port_status_t"
This reverts commit b33a296d831189d8a8eedee360e889509b9c81e6.
The patch series that removed typedefs from the octeon driver was not
actually built properly, and broke the build (it's hard to test-build
this driver for some reason.) Remove them all at this point in time to
make sure the build works properly.
Link: https://lore.kernel.org/r/32e9ad3c-191e-4dd1-b1cc-07f7b93c3f28@roeck-us.net
Reported-by: Guenter Roeck <linux@roeck-us.net>
Cc: Oliver Crumrine <ozlinux@hotmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/octeon/ethernet.c')
| -rw-r--r-- | drivers/staging/octeon/ethernet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/octeon/ethernet.c b/drivers/staging/octeon/ethernet.c index 8e1f4b987a25..023b107e077a 100644 --- a/drivers/staging/octeon/ethernet.c +++ b/drivers/staging/octeon/ethernet.c @@ -201,8 +201,8 @@ EXPORT_SYMBOL(cvm_oct_free_work); */ static struct net_device_stats *cvm_oct_common_get_stats(struct net_device *dev) { - struct cvmx_pip_port_status rx_status; - struct cvmx_pko_port_status tx_status; + cvmx_pip_port_status_t rx_status; + cvmx_pko_port_status_t tx_status; struct octeon_ethernet *priv = netdev_priv(dev); if (priv->port < CVMX_PIP_NUM_INPUT_PORTS) { |
