Skip to content

Commit

Permalink
net: sdk_fman: remove obsolete modversions.h includes
Browse files Browse the repository at this point in the history
From upstream commit 0e0345b, the modversions.h is renamed to
MODVERSIONS file.  Remove the #include as it is not needed.

Signed-off-by: Li Yang <leoyang.li@nxp.com>
  • Loading branch information
Li Yang authored and Dong Aisheng committed Dec 12, 2022
1 parent a14f02f commit 0eb345f
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 64 deletions.
8 changes: 0 additions & 8 deletions drivers/net/ethernet/freescale/sdk_fman/src/inc/types_linux.h
Expand Up @@ -34,14 +34,6 @@
#define __TYPES_LINUX_H__

#include <linux/version.h>

#if defined(CONFIG_MODVERSIONS) && !defined(MODVERSIONS)
#define MODVERSIONS
#endif
#ifdef MODVERSIONS
#include <config/modversions.h>
#endif /* MODVERSIONS */

#include <linux/kernel.h>
#include <linux/types.h>
#include <asm/io.h>
Expand Down
12 changes: 0 additions & 12 deletions drivers/net/ethernet/freescale/sdk_fman/src/system/sys_io.c
Expand Up @@ -31,18 +31,6 @@
*/

#include <linux/version.h>

#if defined(CONFIG_MODVERSIONS) && !defined(MODVERSIONS)
#define MODVERSIONS
#endif
#ifdef MODVERSIONS
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0)
#include <linux/modversions.h>
#else
#include <config/modversions.h>
#endif /* LINUX_VERSION_CODE */
#endif /* MODVERSIONS */

#include <linux/module.h>
#include <linux/kernel.h>

Expand Down
Expand Up @@ -39,12 +39,6 @@

#include <linux/version.h>
#include <linux/slab.h>
#if defined(CONFIG_MODVERSIONS) && !defined(MODVERSIONS)
#define MODVERSIONS
#endif
#ifdef MODVERSIONS
#include <config/modversions.h>
#endif /* MODVERSIONS */
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/fs.h>
Expand Down
Expand Up @@ -38,12 +38,6 @@
*/

#include <linux/version.h>
#if defined(CONFIG_MODVERSIONS) && !defined(MODVERSIONS)
#define MODVERSIONS
#endif
#ifdef MODVERSIONS
#include <config/modversions.h>
#endif /* MODVERSIONS */
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/of_platform.h>
Expand Down
Expand Up @@ -38,14 +38,6 @@

/* Linux Headers ------------------- */
#include <linux/version.h>

#if defined(CONFIG_MODVERSIONS) && !defined(MODVERSIONS)
#define MODVERSIONS
#endif
#ifdef MODVERSIONS
#include <config/modversions.h>
#endif /* MODVERSIONS */

#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
Expand Down
Expand Up @@ -35,14 +35,6 @@

/* Linux Headers ------------------- */
#include <linux/version.h>

#if defined(CONFIG_MODVERSIONS) && !defined(MODVERSIONS)
#define MODVERSIONS
#endif
#ifdef MODVERSIONS
#include <config/modversions.h>
#endif /* MODVERSIONS */

#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/device.h>
Expand Down
8 changes: 0 additions & 8 deletions drivers/net/ethernet/freescale/sdk_fman/src/xx/xx_arm_linux.c
Expand Up @@ -36,14 +36,6 @@
@Description XX routines implementation for Linux.
*//***************************************************************************/
#include <linux/version.h>

#if defined(CONFIG_MODVERSIONS) && !defined(MODVERSIONS)
#define MODVERSIONS
#endif
#ifdef MODVERSIONS
#include <config/modversions.h>
#endif /* MODVERSIONS */

#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/sched.h>
Expand Down
8 changes: 0 additions & 8 deletions drivers/net/ethernet/freescale/sdk_fman/src/xx/xx_linux.c
Expand Up @@ -36,14 +36,6 @@
@Description XX routines implementation for Linux.
*//***************************************************************************/
#include <linux/version.h>

#if defined(CONFIG_MODVERSIONS) && !defined(MODVERSIONS)
#define MODVERSIONS
#endif
#ifdef MODVERSIONS
#include <config/modversions.h>
#endif /* MODVERSIONS */

#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/sched.h>
Expand Down

0 comments on commit 0eb345f

Please sign in to comment.