bdev->driver = driver;
- memset(bdev->man, 0, sizeof(bdev->man));
+ memset(bdev->man_priv, 0, sizeof(bdev->man_priv));
ttm_bo_init_sysman(bdev);
*/
struct list_head device_list;
struct ttm_bo_driver *driver;
- struct ttm_mem_type_manager man[TTM_NUM_MEM_TYPES];
+ /*
+ * access via ttm_manager_type.
+ */
+ struct ttm_mem_type_manager man_priv[TTM_NUM_MEM_TYPES];
/*
* Protected by internal locks.
static inline struct ttm_mem_type_manager *ttm_manager_type(struct ttm_bo_device *bdev,
int mem_type)
{
- return &bdev->man[mem_type];
+ return &bdev->man_priv[mem_type];
}
/**