Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e5bc9e25 authored by Russell King's avatar Russell King
Browse files

ARM: w90x900: add common nuc9xx.h



Rather than having separate extern declarations in nuc9*.h, provide
a common header file containing these definitions.

Tested-by: default avatarWan Zongshun <mcuos.com@gmail.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 3a083227
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -28,6 +28,8 @@
#include <mach/hardware.h>
#include <mach/regs-irq.h>

#include "nuc9xx.h"

struct group_irq {
	unsigned long		gpen;
	unsigned int		enabled;
+1 −8
Original line number Diff line number Diff line
@@ -12,14 +12,7 @@
 * published by the Free Software Foundation.
 *
 */

struct map_desc;
struct sys_timer;

/* core initialisation functions */

extern void nuc900_init_irq(void);
extern struct sys_timer nuc900_timer;
#include "nuc9xx.h"

/* extern file from nuc910.c */

+1 −8
Original line number Diff line number Diff line
@@ -12,14 +12,7 @@
 * published by the Free Software Foundation.
 *
 */

struct map_desc;
struct sys_timer;

/* core initialisation functions */

extern void nuc900_init_irq(void);
extern struct sys_timer nuc900_timer;
#include "nuc9xx.h"

/* extern file from nuc950.c */

+1 −8
Original line number Diff line number Diff line
@@ -12,14 +12,7 @@
 * published by the Free Software Foundation.
 *
 */

struct map_desc;
struct sys_timer;

/* core initialisation functions */

extern void nuc900_init_irq(void);
extern struct sys_timer nuc900_timer;
#include "nuc9xx.h"

/* extern file from nuc960.c */

+23 −0
Original line number Diff line number Diff line
/*
 * arch/arm/mach-w90x900/nuc9xx.h
 *
 * Copied from nuc910.h, which had:
 *
 * Copyright (c) 2008 Nuvoton corporation
 *
 * Header file for NUC900 CPU support
 *
 * Wan ZongShun <mcuos.com@gmail.com>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 *
 */
struct map_desc;
struct sys_timer;

/* core initialisation functions */

extern void nuc900_init_irq(void);
extern struct sys_timer nuc900_timer;
Loading