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>
Mon, 19 Mar 2018 07:42:49 +0000 (08:42 +0100)
commit31a0f45021086f57bc48c5572c26fde44fe92ee0
tree9bfc4814db30839983065bd56d6e072d0113e3d0
parent00c7a2690dcc36d4fa77f844302a3d4687c536fa
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