diff options
| author | Gerd Hoffmann <[email protected]> | 2019-08-22 11:06:44 +0200 |
|---|---|---|
| committer | Gerd Hoffmann <[email protected]> | 2019-08-23 10:48:31 +0200 |
| commit | 35616a4aa919e91c4e530e7e6106e32d0ceb85c2 (patch) | |
| tree | 5eed613ffc861f36736ae2802e784966cc5bcad6 /include | |
| parent | 0a8459693238a339de9705da4e26f6ffbb6a4ebc (diff) | |
drm: drop resource_id parameter from drm_fb_helper_remove_conflicting_pci_framebuffers
Not needed any more for remove_conflicting_pci_framebuffers calls.
Signed-off-by: Gerd Hoffmann <[email protected]>
Reviewed-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'include')
| -rw-r--r-- | include/drm/drm_fb_helper.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/drm/drm_fb_helper.h b/include/drm/drm_fb_helper.h index 5a5f4b1d8241..8dcc012ccbc8 100644 --- a/include/drm/drm_fb_helper.h +++ b/include/drm/drm_fb_helper.h @@ -539,18 +539,16 @@ drm_fb_helper_remove_conflicting_framebuffers(struct apertures_struct *a, /** * drm_fb_helper_remove_conflicting_pci_framebuffers - remove firmware-configured framebuffers for PCI devices * @pdev: PCI device - * @resource_id: index of PCI BAR configuring framebuffer memory * @name: requesting driver name * * This function removes framebuffer devices (eg. initialized by firmware) - * using memory range configured for @pdev's BAR @resource_id. + * using memory range configured for any of @pdev's memory bars. * * The function assumes that PCI device with shadowed ROM drives a primary * display and so kicks out vga16fb. */ static inline int drm_fb_helper_remove_conflicting_pci_framebuffers(struct pci_dev *pdev, - int resource_id, const char *name) { int ret = 0; |