[PATCH v3] staging: rtl8192e: Fix conflicting types error with net_device.

2024-06-25 Thread Teddy Engel
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 Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202406250858.l8rjmhqm-...@intel.com/ Fixes: 7dff0b27d9c8 ("staging: rtl8192e: R

[PATCH v2] staging: rtl8192e: Fix conflicting types error with net_device.

2024-06-25 Thread Teddy Engel
Add a pre-declaration of struct net_device so the compiler is able to use rtl_pci.h / rtl_cam.h. Fix for commit: 7dff0b27d9c842f88149bf611cbc0b59be1dcd3c: [34/59] staging: rtl89192e: Remove unnecessary pre-declaration of struct net_device. Signed-off-by: Teddy Engel Reported-by: kernel test

[PATCH] staging: rtl8192e: Fix conflicting types error with net_device.

2024-06-25 Thread Teddy Engel
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 Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202406250858.l8rjmhqm-...@intel.com/ --- drivers/staging/rtl8192e/rtl8192e/rtl_cam.h | 2