* [PATCH] dw_apb_timer: constify clocksource name
@ 2011-07-25 15:34 Jamie Iles
2011-08-23 12:56 ` Jamie Iles
0 siblings, 1 reply; 3+ messages in thread
From: Jamie Iles @ 2011-07-25 15:34 UTC (permalink / raw)
To: linux-kernel; +Cc: Jamie Iles, John Stultz
The clocksource name should be const for correctness.
Cc: John Stultz <johnstul@us.ibm.com>
Signed-off-by: Jamie Iles <jamie@jamieiles.com>
---
drivers/clocksource/dw_apb_timer.c | 2 +-
include/linux/dw_apb_timer.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/clocksource/dw_apb_timer.c b/drivers/clocksource/dw_apb_timer.c
index 580f870..8c2a35f 100644
--- a/drivers/clocksource/dw_apb_timer.c
+++ b/drivers/clocksource/dw_apb_timer.c
@@ -348,7 +348,7 @@ static void apbt_restart_clocksource(struct clocksource *cs)
* dw_apb_clocksource_register() as the next step.
*/
struct dw_apb_clocksource *
-dw_apb_clocksource_init(unsigned rating, char *name, void __iomem *base,
+dw_apb_clocksource_init(unsigned rating, const char *name, void __iomem *base,
unsigned long freq)
{
struct dw_apb_clocksource *dw_cs = kzalloc(sizeof(*dw_cs), GFP_KERNEL);
diff --git a/include/linux/dw_apb_timer.h b/include/linux/dw_apb_timer.h
index 49638ea..07261d5 100644
--- a/include/linux/dw_apb_timer.h
+++ b/include/linux/dw_apb_timer.h
@@ -46,7 +46,7 @@ struct dw_apb_clock_event_device *
dw_apb_clockevent_init(int cpu, const char *name, unsigned rating,
void __iomem *base, int irq, unsigned long freq);
struct dw_apb_clocksource *
-dw_apb_clocksource_init(unsigned rating, char *name, void __iomem *base,
+dw_apb_clocksource_init(unsigned rating, const char *name, void __iomem *base,
unsigned long freq);
void dw_apb_clocksource_register(struct dw_apb_clocksource *dw_cs);
void dw_apb_clocksource_start(struct dw_apb_clocksource *dw_cs);
--
1.7.4.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] dw_apb_timer: constify clocksource name
2011-07-25 15:34 [PATCH] dw_apb_timer: constify clocksource name Jamie Iles
@ 2011-08-23 12:56 ` Jamie Iles
2011-10-04 19:57 ` john stultz
0 siblings, 1 reply; 3+ messages in thread
From: Jamie Iles @ 2011-08-23 12:56 UTC (permalink / raw)
To: Jamie Iles; +Cc: linux-kernel, John Stultz
On Mon, Jul 25, 2011 at 04:34:37PM +0100, Jamie Iles wrote:
> The clocksource name should be const for correctness.
>
> Cc: John Stultz <johnstul@us.ibm.com>
> Signed-off-by: Jamie Iles <jamie@jamieiles.com>
ping?
Jamie
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] dw_apb_timer: constify clocksource name
2011-08-23 12:56 ` Jamie Iles
@ 2011-10-04 19:57 ` john stultz
0 siblings, 0 replies; 3+ messages in thread
From: john stultz @ 2011-10-04 19:57 UTC (permalink / raw)
To: Jamie Iles; +Cc: linux-kernel
On Tue, 2011-08-23 at 13:56 +0100, Jamie Iles wrote:
> On Mon, Jul 25, 2011 at 04:34:37PM +0100, Jamie Iles wrote:
> > The clocksource name should be const for correctness.
> >
> > Cc: John Stultz <johnstul@us.ibm.com>
> > Signed-off-by: Jamie Iles <jamie@jamieiles.com>
>
> ping?
Terribly sorry this got so far back on my queue. I've applied it in my
tree and will push it for 3.2
thanks
-john
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-10-04 20:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-25 15:34 [PATCH] dw_apb_timer: constify clocksource name Jamie Iles
2011-08-23 12:56 ` Jamie Iles
2011-10-04 19:57 ` john stultz
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.