Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 61b91c1e authored by Zhu Yi's avatar Zhu Yi Committed by John W. Linville
Browse files

iwlwifi: remove linux/utsrelease.h dependency



Commit 250cce26 uses UTS_RELEASE
as the the in-tree iwlwifi driver version. However the inclusion
of generated/utsrelease.h makes it a unpleasant behaviour to
recompile the driver everytime when utsrelease.h is updated. In
fact, the driver module is already built with the UTS_RELEASE
information via vermagic of modinfo. Mark the in-tree driver
with the version string "in-tree" to distinguish with those old
out-of-tree drivers.

Reported-by: default avatarDavid Miller <davem@davemloft.net>
Signed-off-by: default avatarZhu Yi <yi.zhu@intel.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent e5eb8bd9
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -63,8 +63,6 @@
#ifndef __iwl_core_h__
#define __iwl_core_h__

#include <linux/utsrelease.h>

/************************
 * forward declarations *
 ************************/
@@ -72,7 +70,7 @@ struct iwl_host_cmd;
struct iwl_cmd;


#define IWLWIFI_VERSION UTS_RELEASE "-k"
#define IWLWIFI_VERSION "in-tree:"
#define DRV_COPYRIGHT	"Copyright(c) 2003-2009 Intel Corporation"
#define DRV_AUTHOR     "<ilw@linux.intel.com>"