Skip to content

Commit

Permalink
sh: Move init_landisk_IRQ to header file
Browse files Browse the repository at this point in the history
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Nobuhiro Iwamatsu authored and Paul Mundt committed Jan 11, 2011
1 parent baa7eb0 commit 418f219
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 0 additions & 2 deletions arch/sh/boards/mach-landisk/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
#include <mach-landisk/mach/iodata_landisk.h>
#include <asm/io.h>

void init_landisk_IRQ(void);

static void landisk_power_off(void)
{
__raw_writeb(0x01, PA_SHUTDOWN);
Expand Down
4 changes: 3 additions & 1 deletion arch/sh/include/mach-landisk/mach/iodata_landisk.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define __ASM_SH_IODATA_LANDISK_H

/*
* linux/include/asm-sh/landisk/iodata_landisk.h
* arch/sh/include/mach-landisk/mach/iodata_landisk.h
*
* Copyright (C) 2000 Atom Create Engineering Co., Ltd.
*
Expand Down Expand Up @@ -35,6 +35,8 @@
#define IRQ_BUTTON 12 /* USL-5P Button IRQ */
#define IRQ_FAULT 13 /* USL-5P Fault IRQ */

void init_landisk_IRQ(void);

#define __IO_PREFIX landisk
#include <asm/io_generic.h>

Expand Down

0 comments on commit 418f219

Please sign in to comment.