Re: [lm-sensors] [2.6 patch] make coretemp_device_remove() static

From: Mark M. Hoffman
Date: Sun Jul 08 2007 - 09:46:53 EST


Hi Jean, Adrian:

* Jean Delvare <khali@xxxxxxxxxxxx> [2007-07-07 21:22:28 +0200]:
> Hi Adrian,
>
> On Fri, 6 Jul 2007 01:23:06 +0200, Adrian Bunk wrote:
> > coretemp_device_remove() can become static.
> >
> > Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>
>
> Obviously correct.
>
> Acked-by: Jean Delvare <khali@xxxxxxxxxxxx>
>
> > ---
> > --- linux-2.6.22-rc6-mm1/drivers/hwmon/coretemp.c.old 2007-07-04 20:46:05.000000000 +0200
> > +++ linux-2.6.22-rc6-mm1/drivers/hwmon/coretemp.c 2007-07-04 20:46:20.000000000 +0200
> > @@ -318,7 +318,7 @@
> > }
> >
> > #ifdef CONFIG_HOTPLUG_CPU
> > -void coretemp_device_remove(unsigned int cpu)
> > +static void coretemp_device_remove(unsigned int cpu)
> > {
> > struct pdev_entry *p, *n;
> > mutex_lock(&pdev_list_mutex);

Applied to my testing tree; thanks.

--
Mark M. Hoffman
mhoffman@xxxxxxxxxxxxx

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/