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

From: Vladimir Oltean
Date: Thu Nov 12 2020 - 18:05:01 EST


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@xxxxxxx>
> ---
> 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@xxxxxxxxxxxxxxx
> 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".