From: Ralf Baechle <ralf@linux-mips.org>
To: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>,
linux-mips <linux-mips@linux-mips.org>
Subject: Re: [PATCH][MIPS] remove unneeded reset function for jazz
Date: Mon, 23 Jul 2007 14:19:44 +0100 [thread overview]
Message-ID: <20070723131944.GC31040@linux-mips.org> (raw)
In-Reply-To: <20070722130649.439bf4c2.yoichi_yuasa@tripeaks.co.jp>
On Sun, Jul 22, 2007 at 01:06:49PM +0900, Yoichi Yuasa wrote:
> remove unneeded reset function for jazz
Thanks, ok? Or do you instead want to put something into these functions?
Ralf
> Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
>
> diff -pruN -X generic/Documentation/dontdiff generic-orig/arch/mips/jazz/reset.c generic/arch/mips/jazz/reset.c
> --- generic-orig/arch/mips/jazz/reset.c 2007-07-21 21:55:08.089094250 +0900
> +++ generic/arch/mips/jazz/reset.c 2007-07-21 22:22:10.724855500 +0900
> @@ -6,10 +6,6 @@
> */
> #include <linux/jiffies.h>
> #include <asm/jazz.h>
> -#include <asm/io.h>
> -#include <asm/system.h>
> -#include <asm/reboot.h>
> -#include <asm/delay.h>
>
> #define KBD_STAT_IBF 0x02 /* Keyboard input buffer full */
>
> @@ -58,12 +54,3 @@ void jazz_machine_restart(char *command)
> jazz_write_output (0x00);
> }
> }
> -
> -void jazz_machine_halt(void)
> -{
> -}
> -
> -void jazz_machine_power_off(void)
> -{
> - /* Jazz machines don't have a software power switch */
> -}
> diff -pruN -X generic/Documentation/dontdiff generic-orig/arch/mips/jazz/setup.c generic/arch/mips/jazz/setup.c
> --- generic-orig/arch/mips/jazz/setup.c 2007-07-21 21:55:08.101095000 +0900
> +++ generic/arch/mips/jazz/setup.c 2007-07-21 22:20:20.045938500 +0900
> @@ -34,8 +34,6 @@
> extern asmlinkage void jazz_handle_int(void);
>
> extern void jazz_machine_restart(char *command);
> -extern void jazz_machine_halt(void);
> -extern void jazz_machine_power_off(void);
>
> void __init plat_timer_setup(struct irqaction *irq)
> {
> @@ -95,8 +93,6 @@ void __init plat_mem_setup(void)
> /* The RTC is outside the port address space */
>
> _machine_restart = jazz_machine_restart;
> - _machine_halt = jazz_machine_halt;
> - pm_power_off = jazz_machine_power_off;
>
> screen_info = (struct screen_info) {
> 0, 0, /* orig-x, orig-y */
Ralf
next prev parent reply other threads:[~2007-07-23 13:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-22 4:06 [PATCH][MIPS] remove unneeded reset function for jazz Yoichi Yuasa
2007-07-23 13:19 ` Ralf Baechle [this message]
2007-07-24 0:54 ` Thomas Bogendoerfer
2007-07-24 12:53 ` Ralf Baechle
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070723131944.GC31040@linux-mips.org \
--to=ralf@linux-mips.org \
--cc=linux-mips@linux-mips.org \
--cc=tsbogend@alpha.franken.de \
--cc=yoichi_yuasa@tripeaks.co.jp \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.