From: Meelis Roos Date: Wed, 13 Jun 2007 08:59:23 +0000 Subject: Re: parport_pc BUG in dma-mapping.h Message-Id: List-Id: References: In-Reply-To: To: sparclinux@vger.kernel.org > All along the compiler was telling us the problem: > > In file included from drivers/parport/parport_pc.c:67: > include/asm/parport.h: In function $,1rx(Bparport_isa_probe$,1ry(B: > include/asm/parport.h:148: error: request for member $,1rx(Bdev$,1ry(B in something not a structure or union > include/asm/parport.h: In function $,1rx(Bparport_pc_find_nonpci_ports$,1ry(B: > include/asm/parport.h:203: error: request for member $,1rx(Bdev$,1ry(B in something not a structure or union > > The following patch should fix things for good: > > commit f75823072cd2bfa6e7aacafa15c9e5af7ce8d879 > Author: David S. Miller > Date: Tue Jun 12 23:53:03 2007 -0700 Yes, this works, thank you! I tried a similar way - the compiler warnings. The following warnings looked suspicious to me but I could not see into them in 10 minutes so I did not investigate it further. CC [M] drivers/parport/parport_pc.o In file included from drivers/parport/parport_pc.c:67: include/asm/parport.h: In function 'parport_isa_probe': include/asm/parport.h:148: warning: passing argument 5 of 'parport_pc_probe_port' from incompatible pointer type include/asm/parport.h: In function 'parport_pc_find_nonpci_ports': include/asm/parport.h:202: warning: passing argument 5 of 'parport_pc_probe_port' from incompatible pointer type -- Meelis Roos (mroos@linux.ee)