Subject: Re: [PATCH net] r8169: fix LED-related deadlock on module removal

From: Jakub Kicinski <[email-masked]>
Date: Tue, 16 Apr 2024 16:41:13 -0700

On Mon, 15 Apr 2024 10:49:11 +0200 Lukas Wunner wrote:
> >  struct rtl8169_private;
> > +struct r8169_led_classdev;  
> 
> Normally these forward declarations are not needed if you're just
> referencing the struct name in a pointer.  Usage of the struct name
> in a pointer implies a forward declaration.

Unless something changed recently that only works for struct members,
function args need an explicit forward declaration.