diff options
author | Dave Airlie <airlied@linux.ie> | 2004-08-24 11:15:53 +0000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2004-08-24 11:15:53 +0000 |
commit | d4dbf457813e97531ded3bf24f3b6ad421189c69 (patch) | |
tree | 8e47c1dd5d7cf9c8c4bce4a7e34531fc9a8eae75 /linux-core/ffb_drv.c | |
parent | eac498baeaf9b57b448065b0fb9f4eeadbb9aa6b (diff) |
Merged drmfntbl-0-0-2
Diffstat (limited to 'linux-core/ffb_drv.c')
-rw-r--r-- | linux-core/ffb_drv.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/linux-core/ffb_drv.c b/linux-core/ffb_drv.c index fe0d129b..113c2d6b 100644 --- a/linux-core/ffb_drv.c +++ b/linux-core/ffb_drv.c @@ -28,10 +28,6 @@ #define DRIVER_COUNT_CARDS() ffb_count_card_instances() -/* For mmap customization */ -#define DRIVER_GET_MAP_OFS() (map->offset & 0xffffffff) -#define DRIVER_GET_REG_OFS() ffb_get_reg_offset(dev) - typedef struct _ffb_position_t { int node; int root; @@ -273,16 +269,6 @@ unsigned long ffb_get_unmapped_area(struct file *filp, return addr; } -static unsigned long ffb_get_reg_offset(drm_device_t *dev) -{ - ffb_dev_priv_t *ffb_priv = (ffb_dev_priv_t *)dev->dev_private; - - if (ffb_priv) - return ffb_priv->card_phys_base; - - return 0; -} - #include "drm_auth.h" #include "drm_bufs.h" #include "drm_dma.h" |