Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1544355 > unrolled thread
| Started by | Geert Uytterhoeven <geert@linux-m68k.org> |
|---|---|
| First post | 2016-12-19 09:10 +0100 |
| Last post | 2016-12-19 10:50 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH 2/2] rtc: jz4740: make the driver builtin only Geert Uytterhoeven <geert@linux-m68k.org> - 2016-12-19 09:10 +0100
Re: [PATCH 2/2] rtc: jz4740: make the driver builtin only Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2016-12-19 10:50 +0100
| From | Geert Uytterhoeven <geert@linux-m68k.org> |
|---|---|
| Date | 2016-12-19 09:10 +0100 |
| Subject | Re: [PATCH 2/2] rtc: jz4740: make the driver builtin only |
| Message-ID | <sQ1bc-5bq-15@gated-at.bofh.it> |
Hi Alexandre,
On Wed, Nov 9, 2016 at 1:37 AM, Alexandre Belloni
<alexandre.belloni@free-electrons.com> wrote:
> Since the driver is now calling machine_halt() that is not exported, it has
> to be built in the kernel. Building it as a module will fail at linking
> time.
>
> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
> ---
> drivers/rtc/Kconfig | 5 +----
> drivers/rtc/rtc-jz4740.c | 10 +---------
> 2 files changed, 2 insertions(+), 13 deletions(-)
>
> diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
> index 4259ce61c31b..24b0778f6e28 100644
> --- a/drivers/rtc/Kconfig
> +++ b/drivers/rtc/Kconfig
> @@ -1550,15 +1550,12 @@ config RTC_DRV_MPC5121
> will be called rtc-mpc5121.
>
> config RTC_DRV_JZ4740
> - tristate "Ingenic JZ4740 SoC"
> + bool "Ingenic JZ4740 SoC"
Just noticed RTC_DRV_JZ4740 flipped from m to y.
This is bad for distribution kernels.
Can't the driver just call kernel_halt() instead of machine_halt()?
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
[toc] | [next] | [standalone]
| From | Alexandre Belloni <alexandre.belloni@free-electrons.com> |
|---|---|
| Date | 2016-12-19 10:50 +0100 |
| Message-ID | <sQ2JY-60r-23@gated-at.bofh.it> |
| In reply to | #1544355 |
Hi, On 19/12/2016 at 09:03:17 +0100, Geert Uytterhoeven wrote : > On Wed, Nov 9, 2016 at 1:37 AM, Alexandre Belloni > <alexandre.belloni@free-electrons.com> wrote: > > Since the driver is now calling machine_halt() that is not exported, it has > > to be built in the kernel. Building it as a module will fail at linking > > time. > > > > Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> > > --- > > drivers/rtc/Kconfig | 5 +---- > > drivers/rtc/rtc-jz4740.c | 10 +--------- > > 2 files changed, 2 insertions(+), 13 deletions(-) > > > > diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig > > index 4259ce61c31b..24b0778f6e28 100644 > > --- a/drivers/rtc/Kconfig > > +++ b/drivers/rtc/Kconfig > > @@ -1550,15 +1550,12 @@ config RTC_DRV_MPC5121 > > will be called rtc-mpc5121. > > > > config RTC_DRV_JZ4740 > > - tristate "Ingenic JZ4740 SoC" > > + bool "Ingenic JZ4740 SoC" > > Just noticed RTC_DRV_JZ4740 flipped from m to y. > > This is bad for distribution kernels. > Can't the driver just call kernel_halt() instead of machine_halt()? > I'm not sure and I can't test. Paul, can you test? Maybe the other concern is that users that are not loading the rtc module will probably complain their machine is not powering off. -- Alexandre Belloni, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web