mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: [WATCHDOG] set max63xx driver as ARM only
       [not found] <201004062159.o36Lx320032351@hera.kernel.org>
@ 2010-04-07 17:56 ` Geert Uytterhoeven
  2010-04-08  8:23   ` Martin Schwidefsky
  2010-04-15  5:58   ` Wim Van Sebroeck
  0 siblings, 2 replies; 3+ messages in thread
From: Geert Uytterhoeven @ 2010-04-07 17:56 UTC (permalink / raw)
  To: Marc Zyngier, Wim Van Sebroeck, Andrew Morton, Martin Schwidefsky
  Cc: Linux Kernel Mailing List

On Tue, Apr 6, 2010 at 23:59, Linux Kernel Mailing List
<linux-kernel@vger.kernel.org> wrote:
> Gitweb:     http://git.kernel.org/linus/5e8037166497f8a1aa46325ed7febf0408d45caa
> Commit:     5e8037166497f8a1aa46325ed7febf0408d45caa
> Parent:     35c79780064976cf9d7537a00e59f97c2061fa7d
> Author:     Marc Zyngier <maz@misterjones.org>
> AuthorDate: Mon Mar 29 20:09:14 2010 +0100
> Committer:  Wim Van Sebroeck <wim@iguana.be>
> CommitDate: Sat Apr 3 22:39:30 2010 +0000
>
>    [WATCHDOG] set max63xx driver as ARM only
>
>    Use of ioremap() causes build failure on S390.
>    Restrict the driver to ARM until another architecture comes along
>    and enables the driver for its own use.
>
>    Signed-off-by: Marc Zyngier <maz@misterjones.org>
>    Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
>    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
> ---
>  drivers/watchdog/Kconfig |   11 ++++++-----
>  1 files changed, 6 insertions(+), 5 deletions(-)
>
> diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
> index bdcdbd5..0e8468f 100644
> --- a/drivers/watchdog/Kconfig
> +++ b/drivers/watchdog/Kconfig
> @@ -55,11 +55,6 @@ config SOFT_WATCHDOG
>          To compile this driver as a module, choose M here: the
>          module will be called softdog.
>
> -config MAX63XX_WATCHDOG
> -       tristate "Max63xx watchdog"
> -       help
> -         Support for memory mapped max63{69,70,71,72,73,74} watchdog timer.
> -
>  config WM831X_WATCHDOG
>        tristate "WM831x watchdog"
>        depends on MFD_WM831X
> @@ -305,6 +300,12 @@ config TS72XX_WATCHDOG
>          To compile this driver as a module, choose M here: the
>          module will be called ts72xx_wdt.
>
> +config MAX63XX_WATCHDOG
> +       tristate "Max63xx watchdog"
> +       depends on ARM

Shouldn't that have been `depends on HAS_IOMEM' instead?

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [WATCHDOG] set max63xx driver as ARM only
  2010-04-07 17:56 ` [WATCHDOG] set max63xx driver as ARM only Geert Uytterhoeven
@ 2010-04-08  8:23   ` Martin Schwidefsky
  2010-04-15  5:58   ` Wim Van Sebroeck
  1 sibling, 0 replies; 3+ messages in thread
From: Martin Schwidefsky @ 2010-04-08  8:23 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Marc Zyngier, Wim Van Sebroeck, Andrew Morton, Linux Kernel Mailing List

On Wed, 7 Apr 2010 19:56:18 +0200
Geert Uytterhoeven <geert@linux-m68k.org> wrote:

> > +config MAX63XX_WATCHDOG
> > +       tristate "Max63xx watchdog"
> > +       depends on ARM  
> 
> Shouldn't that have been `depends on HAS_IOMEM' instead?

Using HAS_IOMEM will prevent the build of the driver on s390 and is
imho the correct dependency.

-- 
blue skies,
   Martin.

"Reality continues to ruin my life." - Calvin.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [WATCHDOG] set max63xx driver as ARM only
  2010-04-07 17:56 ` [WATCHDOG] set max63xx driver as ARM only Geert Uytterhoeven
  2010-04-08  8:23   ` Martin Schwidefsky
@ 2010-04-15  5:58   ` Wim Van Sebroeck
  1 sibling, 0 replies; 3+ messages in thread
From: Wim Van Sebroeck @ 2010-04-15  5:58 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Marc Zyngier, Andrew Morton, Martin Schwidefsky,
	Linux Kernel Mailing List

Hi Geert, Martin,

> > +config MAX63XX_WATCHDOG
> > +       tristate "Max63xx watchdog"
> > +       depends on ARM
> 
> Shouldn't that have been `depends on HAS_IOMEM' instead?

Correct. Will add this today or tomorrow.

Kind regards,
Wim.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-04-15  5:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <201004062159.o36Lx320032351@hera.kernel.org>
2010-04-07 17:56 ` [WATCHDOG] set max63xx driver as ARM only Geert Uytterhoeven
2010-04-08  8:23   ` Martin Schwidefsky
2010-04-15  5:58   ` Wim Van Sebroeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®