diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2016-10-09 04:14:15 -0700 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2016-10-12 10:56:51 +0800 |
commit | 5f6ad029f31e897fa8bd62d3f42092e051932bc2 (patch) | |
tree | ba60b78cec6d50f712d807365921079733e17b29 /drivers/pci | |
parent | 10491c838ebed4d5e1fec4655b8bf2de48c6328e (diff) |
vbe: Make vbe_setup_video_priv() public
vbe_setup_video_priv() might be useful to other drivers.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/pci_rom.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/pci/pci_rom.c b/drivers/pci/pci_rom.c index 5746c3d551..cd083f7dde 100644 --- a/drivers/pci/pci_rom.c +++ b/drivers/pci/pci_rom.c @@ -351,9 +351,9 @@ err: } #ifdef CONFIG_DM_VIDEO -static int vbe_setup_video_priv(struct vesa_mode_info *vesa, - struct video_priv *uc_priv, - struct video_uc_platdata *plat) +int vbe_setup_video_priv(struct vesa_mode_info *vesa, + struct video_priv *uc_priv, + struct video_uc_platdata *plat) { if (!vesa->x_resolution) return -ENXIO; |