summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-pci.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2012-03-26 17:27:40 +0200
committerJohn W. Linville <linville@tuxdriver.com>2012-04-10 20:54:03 +0200
commit69b8797fc4a926bf5b895a39b84daddc7eebcd09 (patch)
tree854a21d8241dda35dd83f75a905eedc5ce94857b /drivers/net/wireless/iwlwifi/iwl-pci.c
parentiwlwifi: fix unused variable warning (diff)
downloadlinux-69b8797fc4a926bf5b895a39b84daddc7eebcd09.tar.xz
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-pci.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-pci.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-pci.c b/drivers/net/wireless/iwlwifi/iwl-pci.c
index c5e339ee918b..f3e56b04d775 100644
--- a/drivers/net/wireless/iwlwifi/iwl-pci.c
+++ b/drivers/net/wireless/iwlwifi/iwl-pci.c
@@ -60,6 +60,9 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
*****************************************************************************/
+
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/pci-aspm.h>