coresight: Fixing wrong #ifdef/#endif placement
authorMathieu Poirier <mathieu.poirier@linaro.org>
Fri, 9 Jan 2015 23:57:20 +0000 (16:57 -0700)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Mon, 2 Mar 2015 18:34:09 +0000 (11:34 -0700)
commit1e3e80795e1e1824509fd6adc6aecefcc76689bb
tree6b80a4e4ea2a72729661801ff65db7f925b4d743
parent2ea3f1b8cfa65dd8d22c399c8c7bc792a09c8dd2
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>
(cherry picked from commit c61c4b5dd2c6b5dbf0f7e299db1e8411ef590f5c)
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
include/linux/coresight.h