public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* dma_alloc_coherent
@ 2006-04-04 18:07 Kartik Babu
  0 siblings, 0 replies; 3+ messages in thread
From: Kartik Babu @ 2006-04-04 18:07 UTC (permalink / raw)
  To: linux-kernel

  I'm trying to replace consistent_alloc in a driver that was written 
for the 2.4 kernel with dma_alloc_coherent. My question is that I do not 
use a struct device * pointer at all. Browsing through the source for 
the 2.6.12
on ARM XScale PXA255, I see that this argument may be NULL.

 Still, I'd like to know if passing NULL has any side effects. If so, 
what are they?

 I do however have a cdev structure taht I use for device registration, 
but I do not see how that would help.

Thanks
Kartik

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-04-05 14:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <5XY8B-82x-1@gated-at.bofh.it>
2006-04-04 23:45 ` dma_alloc_coherent Robert Hancock
2006-04-05 14:12   ` dma_alloc_coherent Kartik Babu
2006-04-04 18:07 dma_alloc_coherent Kartik Babu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox