mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-13 17:28:56 +00:00
sh: Move init_landisk_IRQ to header file
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
parent
baa7eb025a
commit
418f219c25
@ -21,8 +21,6 @@
|
|||||||
#include <mach-landisk/mach/iodata_landisk.h>
|
#include <mach-landisk/mach/iodata_landisk.h>
|
||||||
#include <asm/io.h>
|
#include <asm/io.h>
|
||||||
|
|
||||||
void init_landisk_IRQ(void);
|
|
||||||
|
|
||||||
static void landisk_power_off(void)
|
static void landisk_power_off(void)
|
||||||
{
|
{
|
||||||
__raw_writeb(0x01, PA_SHUTDOWN);
|
__raw_writeb(0x01, PA_SHUTDOWN);
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#define __ASM_SH_IODATA_LANDISK_H
|
#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.
|
* Copyright (C) 2000 Atom Create Engineering Co., Ltd.
|
||||||
*
|
*
|
||||||
@ -35,6 +35,8 @@
|
|||||||
#define IRQ_BUTTON 12 /* USL-5P Button IRQ */
|
#define IRQ_BUTTON 12 /* USL-5P Button IRQ */
|
||||||
#define IRQ_FAULT 13 /* USL-5P Fault IRQ */
|
#define IRQ_FAULT 13 /* USL-5P Fault IRQ */
|
||||||
|
|
||||||
|
void init_landisk_IRQ(void);
|
||||||
|
|
||||||
#define __IO_PREFIX landisk
|
#define __IO_PREFIX landisk
|
||||||
#include <asm/io_generic.h>
|
#include <asm/io_generic.h>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user