diff options
author | Joe Perches <joe@perches.com> | 2012-03-26 08:27:40 -0700 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-04-10 14:54:03 -0400 |
commit | 69b8797fc4a926bf5b895a39b84daddc7eebcd09 (patch) | |
tree | 854a21d8241dda35dd83f75a905eedc5ce94857b /drivers/net/wireless/iwlwifi/iwl-agn.c | |
parent | a855f7ee64fedbe831859d53b20650c2224afecc (diff) | |
download | linux-69b8797fc4a926bf5b895a39b84daddc7eebcd09.tar.gz linux-69b8797fc4a926bf5b895a39b84daddc7eebcd09.tar.bz2 linux-69b8797fc4a926bf5b895a39b84daddc7eebcd09.zip |
iwlwifi: Add pr_fmt
Prefix dmesg output with "iwlwifi: " by
adding #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c index 94af564bb53f..22c953d65be5 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn.c @@ -26,6 +26,9 @@ * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 * *****************************************************************************/ + +#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt + #include <linux/kernel.h> #include <linux/module.h> #include <linux/init.h> |