coresight: Fixing wrong #ifdef/#endif placement
authorMathieu Poirier <mathieu.poirier@linaro.org>
Fri, 9 Jan 2015 23:57:20 +0000 (16:57 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Jan 2015 13:04:13 +0000 (05:04 -0800)
commitc61c4b5dd2c6b5dbf0f7e299db1e8411ef590f5c
tree094b8b118cccc1bcc8f4074a8d348fa3fd887fc0
parentff1e33b0c16ba422e3bf3fa8cc7e89b2c958e193
coresight: Fixing wrong #ifdef/#endif placement

Fixing problem reported by:
        https://lkml.org/lkml/2015/1/6/86

The #ifdef/#endif is wrong and prevents the stub of function
of_get_coresight_platform_data() from being visible when
CONFIG_OF is not defined.

Moving CONFIG_OF condition out of CONFIG_CORESIGHT, making
them both independent.

Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/coresight.h