mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-27 00:00:13 +01:00
Fix typo in last commit (cleanup fix)
This commit is contained in:
parent
7379023cec
commit
95417f81a9
1 changed files with 3 additions and 3 deletions
|
|
@ -501,12 +501,12 @@ static int mach64_do_dma_init( drm_device_t *dev, drm_mach64_init_t *init )
|
|||
int mach64_do_cleanup_dma( drm_device_t *dev )
|
||||
{
|
||||
DRM_DEBUG( "%s\n", __FUNCTION__ );
|
||||
|
||||
|
||||
if ( dev->dev_private ) {
|
||||
drm_mach64_private_t *dev_priv = dev->dev_private;
|
||||
|
||||
|
||||
if ( (dev_priv->pool != NULL) &&
|
||||
(dev_priv->cpu_addr_table != NULL) && !dev_priv->table_handle ) {
|
||||
(dev_priv->cpu_addr_table != NULL) && dev_priv->table_handle ) {
|
||||
DRM_INFO( "freeing descriptor table from pci pool\n" );
|
||||
pci_pool_free( dev_priv->pool, dev_priv->cpu_addr_table,
|
||||
dev_priv->table_handle );
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue