Commit 0ed385e2 authored by Dave Airlie's avatar Dave Airlie

drm: remove virt_to_bus

remove virt_to_bus completely.. will fix up drm to use proper 
interfaces instead later..
Signed-off-by: default avatarDave Airlie <airlied@linux.ie>
parent ee9e2c8a
......@@ -659,9 +659,6 @@ int DRM(addbufs_pci)( struct inode *inode, struct file *filp,
buf->used = 0;
buf->offset = (dma->byte_count + byte_count + offset);
buf->address = (void *)(page + offset);
#ifndef __sparc__
buf->bus_address = virt_to_bus(buf->address);
#endif
buf->next = NULL;
buf->waiting = 0;
buf->pending = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment