Skip to content

Commit

Permalink
iwlwifi: remove linux/utsrelease.h dependency
Browse files Browse the repository at this point in the history
Commit 250cce2 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: David Miller <davem@davemloft.net>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Zhu Yi authored and John W. Linville committed Jan 5, 2010
1 parent e5eb8bd commit 61b91c1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions drivers/net/wireless/iwlwifi/iwl-core.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,16 +63,14 @@
#ifndef __iwl_core_h__
#define __iwl_core_h__

#include <linux/utsrelease.h>

/************************
* forward declarations *
************************/
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>"

Expand Down

0 comments on commit 61b91c1

Please sign in to comment.