]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Bluetooth: properly use pr_fmt() on lib.c
authorLuis R. Rodriguez <mcgrof@do-not-panic.com>
Tue, 24 Apr 2012 02:45:06 +0000 (19:45 -0700)
committerGustavo Padovan <gustavo@padovan.org>
Tue, 24 Apr 2012 04:15:27 +0000 (01:15 -0300)
commit190eddc2f362e30233576f693a00785b33e8f563
tree17d4a65a1705a884a2d2ce51ab84c8253af440e3
parent8b9ff6ef2a94771f4d731957ba23c60517e51b7b
Bluetooth: properly use pr_fmt() on lib.c

pr_fmt() is either defined or we redefine it. Typically
drivers define it prior to including printk.h but this
is done under the assumption that no other subsystem
it uses has already defined pr_fmt(). In such cases
pr_fmt() should be undefined and redefined.

Doing this properly shaves down compilation time quite
considerably.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Signed-off-by: Gustavo Padovan <gustavo@padovan.org>
net/bluetooth/lib.c