Patchwork No auxio on LEON

login
register
mail settings
Submitter Kristoffer Glembo
Date Nov. 13, 2009, 1:57 p.m.
Message ID <4AFD65B1.7070300@gaisler.com>
Download mbox | patch
Permalink /patch/38368/
State Superseded
Delegated to: David Miller
Headers show

Comments

Kristoffer Glembo - Nov. 13, 2009, 1:57 p.m.
Do not probe for auxio register on SPARC LEON.

(with proper emacs settings this time, thanks Josip)

Signed-off-by: Kristoffer Glembo <kristoffer@gaisler.com>

---
  arch/sparc/kernel/auxio_32.c |    1 +
  1 files changed, 1 insertions(+), 0 deletions(-)

Patch

diff --git a/arch/sparc/kernel/auxio_32.c b/arch/sparc/kernel/auxio_32.c
index 45c4123..ee8d214 100644
--- a/arch/sparc/kernel/auxio_32.c
+++ b/arch/sparc/kernel/auxio_32.c
@@ -28,6 +28,7 @@  void __init auxio_probe(void)
  	struct resource r;

  	switch (sparc_cpu_model) {
+	case sparc_leon:
  	case sun4d:
  	case sun4:
  		return;