* [PATCH] coresight-etm: remove check for unknown Kconfig macro
@ 2015-01-19 17:44 Paul Bolle
2015-01-20 15:11 ` Mathieu Poirier
0 siblings, 1 reply; 2+ messages in thread
From: Paul Bolle @ 2015-01-19 17:44 UTC (permalink / raw)
To: linux-arm-kernel
The CoreSight ETM/PTM driver contains a check for a
CONFIG_CORESIGHT_SOURCE_ETM_DEFAULT_ENABLE macro. But there's no related
Kconfig symbol CORESIGHT_SOURCE_ETM_DEFAULT_ENABLE. Remove that check
and the single line of code it hides.
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
---
Cross-compile tested only (on top of next-20150119).
drivers/coresight/coresight-etm3x.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/drivers/coresight/coresight-etm3x.c b/drivers/coresight/coresight-etm3x.c
index 73c36696f1b6..f312dc4dd95c 100644
--- a/drivers/coresight/coresight-etm3x.c
+++ b/drivers/coresight/coresight-etm3x.c
@@ -34,11 +34,7 @@
#include "coresight-etm.h"
-#ifdef CONFIG_CORESIGHT_SOURCE_ETM_DEFAULT_ENABLE
-static int boot_enable = 1;
-#else
static int boot_enable;
-#endif
module_param_named(
boot_enable, boot_enable, int, S_IRUGO
);
--
1.9.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] coresight-etm: remove check for unknown Kconfig macro
2015-01-19 17:44 [PATCH] coresight-etm: remove check for unknown Kconfig macro Paul Bolle
@ 2015-01-20 15:11 ` Mathieu Poirier
0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Poirier @ 2015-01-20 15:11 UTC (permalink / raw)
To: linux-arm-kernel
On 19 January 2015 at 10:44, Paul Bolle <pebolle@tiscali.nl> wrote:
> The CoreSight ETM/PTM driver contains a check for a
> CONFIG_CORESIGHT_SOURCE_ETM_DEFAULT_ENABLE macro. But there's no related
> Kconfig symbol CORESIGHT_SOURCE_ETM_DEFAULT_ENABLE. Remove that check
> and the single line of code it hides.
>
> Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
> ---
> Cross-compile tested only (on top of next-20150119).
>
> drivers/coresight/coresight-etm3x.c | 4 ----
> 1 file changed, 4 deletions(-)
>
> diff --git a/drivers/coresight/coresight-etm3x.c b/drivers/coresight/coresight-etm3x.c
> index 73c36696f1b6..f312dc4dd95c 100644
> --- a/drivers/coresight/coresight-etm3x.c
> +++ b/drivers/coresight/coresight-etm3x.c
> @@ -34,11 +34,7 @@
>
> #include "coresight-etm.h"
>
> -#ifdef CONFIG_CORESIGHT_SOURCE_ETM_DEFAULT_ENABLE
> -static int boot_enable = 1;
> -#else
> static int boot_enable;
> -#endif
> module_param_named(
> boot_enable, boot_enable, int, S_IRUGO
> );
> --
> 1.9.3
>
Applied - with a slight modification to keep the "module_param_named"
macro on the same line.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-01-20 15:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-19 17:44 [PATCH] coresight-etm: remove check for unknown Kconfig macro Paul Bolle
2015-01-20 15:11 ` Mathieu Poirier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).