[alsa-devel] (no subject)

Krzysztof Helt krzysztof.h1 at wp.pl
Thu Sep 6 07:57:54 CEST 2007


From: Krzysztof Helt <krzysztof.h1 at wp.pl>

The linux/of.h header should be used instead of asm/prom.h.

Signed-off-by: Krzysztof Helt <krzysztof.h1 at wp.pl>
---

Stephen Rothwell's post to the LKLM pointed that asm/prom.h
is replaced by linux/of*.h headers from the new OpenFirmware 
framework .

In case this post got malformed, the patch is attached too.

--- old/sound/sparc/dbri.c	2007-09-04 18:38:20.000000000 +0200
+++ new/sound/sparc/dbri.c	2007-09-06 07:24:46.188427350 +0200
@@ -66,7 +66,7 @@
 #include <sound/control.h>
 #include <sound/initval.h>
 
-#include <asm/prom.h>
+#include <linux/of.h>
 #include <asm/sbus.h>
 #include <asm/atomic.h>
 


----------------------------------------------------
Podróż w przeszłość - tysiące atrakcji w całej Polsce,
tylko we wrześniu - Zajrzyj na stronę Edd.com.pl - Kliknij:
http://klik.wp.pl/?adr=www.edd.com.pl&sid=9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbri-include.diff
Type: application/octet-stream
Size: 298 bytes
Desc: not available
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20070906/bc5b42ec/attachment.dll 


More information about the Alsa-devel mailing list