]> www.infradead.org Git - users/jedix/linux-maple.git/commit
staging: rtl8192e: Fix conflicting types error with net_device.
authorTeddy Engel <engel.teddy@gmail.com>
Tue, 25 Jun 2024 16:33:34 +0000 (17:33 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Jun 2024 13:45:16 +0000 (15:45 +0200)
commitd11cbdee25953d528ccbeaab1a03733c4e07399e
treea053415b5f8ed8504886965b57cc84015b136df4
parent22b65ba43b2d0256e95d6502297f5b0b72d00802
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: Teddy Engel <engel.teddy@gmail.com>
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202406250858.L8rJMHQm-lkp@intel.com/
Fixes: 7dff0b27d9c8 ("staging: rtl8192e: Remove unnecessary pre-declaration of struct net_device")
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/20240625163334.11117-1-engel.teddy@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/rtl_cam.h
drivers/staging/rtl8192e/rtl8192e/rtl_pci.h