Re: [PATCH net-next v2 03/11] net: dsa: microchip: split ksz_common.h

Vladimir Oltean
2020-11-12T23:05:01Z

On Thu, Nov 12, 2020 at 04:35:29PM +0100, Christian Eggers wrote:
> Parts of ksz_common.h (struct ksz_device) will be required in
> net/dsa/tag_ksz.c soon. So move the relevant parts into a new header
> file.
>
> Signed-off-by: Christian Eggers <ceggers@arri.de>
> ---
> MAINTAINERS | 1 +
> drivers/net/dsa/microchip/ksz_common.h | 81 +---------------------
> include/linux/dsa/ksz_common.h | 96 ++++++++++++++++++++++++++
> 3 files changed, 98 insertions(+), 80 deletions(-)
> create mode 100644 include/linux/dsa/ksz_common.h
>
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 3d173fcbf119..de7e2d80426a 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -11520,6 +11520,7 @@ L: netdev@vger.kernel.org
> S: Maintained
> F: Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml
> F: drivers/net/dsa/microchip/*
> +F: include/linux/dsa/microchip/ksz_common.h

Ah, I almost forgot. This path is wrong, it has an extra "microchip".