diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-09-10 06:43:51 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-09-12 05:08:56 -0400 |
commit | 1c96e84ee486d5dbf4a3850441f3c1f95b1343e4 (patch) | |
tree | d9abc869a50c9850091f4032582d26b71abd702f /drivers/gpu/drm/drm_pci.c | |
parent | 4f03b1fc1eb286b73d453c03cdb45a3827726a44 (diff) |
drm: Move __drm_pci_free to drm_legacy.h
Also sprinkle the customary legacy_ prefix.
Unfortunately we can't move the other functions since i915 is still
using them. Shame on me for that one :(
v2: Fix patch subject as spotted by David Herrmann.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/drm_pci.c')
-rw-r--r-- | drivers/gpu/drm/drm_pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/drm_pci.c b/drivers/gpu/drm/drm_pci.c index 7563130c6b70..02ab8c52f311 100644 --- a/drivers/gpu/drm/drm_pci.c +++ b/drivers/gpu/drm/drm_pci.c | |||
@@ -81,7 +81,7 @@ EXPORT_SYMBOL(drm_pci_alloc); | |||
81 | * | 81 | * |
82 | * This function is for internal use in the Linux-specific DRM core code. | 82 | * This function is for internal use in the Linux-specific DRM core code. |
83 | */ | 83 | */ |
84 | void __drm_pci_free(struct drm_device * dev, drm_dma_handle_t * dmah) | 84 | void __drm_legacy_pci_free(struct drm_device * dev, drm_dma_handle_t * dmah) |
85 | { | 85 | { |
86 | unsigned long addr; | 86 | unsigned long addr; |
87 | size_t sz; | 87 | size_t sz; |
@@ -105,7 +105,7 @@ void __drm_pci_free(struct drm_device * dev, drm_dma_handle_t * dmah) | |||
105 | */ | 105 | */ |
106 | void drm_pci_free(struct drm_device * dev, drm_dma_handle_t * dmah) | 106 | void drm_pci_free(struct drm_device * dev, drm_dma_handle_t * dmah) |
107 | { | 107 | { |
108 | __drm_pci_free(dev, dmah); | 108 | __drm_legacy_pci_free(dev, dmah); |
109 | kfree(dmah); | 109 | kfree(dmah); |
110 | } | 110 | } |
111 | 111 | ||