OSDN Git Service

net: ieee802154: adf7242: Fix bug if defined DEBUG
authorMichael Hennerich <michael.hennerich@analog.com>
Tue, 28 Nov 2017 12:53:12 +0000 (13:53 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Mar 2018 08:17:54 +0000 (09:17 +0100)
commit6f8e8ec3d1bd6333f6af8ada6d092314bc9f73c6
treee5d51df8cb2dcf9df4178896d560a7cf4a9d5fbb
parentdb699dcd8e7af2c497678bed4463f80f75addadc
net: ieee802154: adf7242: Fix bug if defined DEBUG

[ Upstream commit 388b3b2b03701f3b3c10975c272892d7f78080df ]

This fixes undefined reference to struct adf7242_local *lp in
case DEBUG is defined.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Stefan Schmidt <stefan@osg.samsung.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ieee802154/adf7242.c