Commit d11cbdee authored by Teddy Engel's avatar Teddy Engel Committed by Greg Kroah-Hartman
Browse files

staging: rtl8192e: Fix conflicting types error with net_device.



Add a pre-declaration of struct net_device so the compiler is able to
use rtl_pci.h / rtl_cam.h.

Signed-off-by: default avatarTeddy Engel <engel.teddy@gmail.com>
Reported-by: default avatarkernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202406250858.L8rJMHQm-lkp@intel.com/


Fixes: 7dff0b27 ("staging: rtl8192e: Remove unnecessary pre-declaration of struct net_device")
Tested-by: default avatarPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/20240625163334.11117-1-engel.teddy@gmail.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 22b65ba4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment