commit | 864498aaa9fef69ee166da023d12413a7776342d | [log] [tgz] |
---|---|---|
author | Dan Williams <dan.j.williams@intel.com> | Tue Jan 06 11:38:21 2009 -0700 |
committer | Dan Williams <dan.j.williams@intel.com> | Tue Jan 06 11:38:21 2009 -0700 |
tree | 023d6bfc15ba192c1a92caab3ff7525a84e409fc | |
parent | 41d5e59c1299f27983977bcfe3b360600996051c [diff] |
dmaengine: use idr for registering dma device numbers This brings some predictability to dma device numbers, i.e. an rmmod/insmod cycle may now result in /sys/class/dma/dma0chan0 being restored rather than /sys/class/dma/dma1chan0 appearing. Cc: Maciej Sosnowski <maciej.sosnowski@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>