[PATCH 05/16] drm/fb-helper: unexport drm_fb_helper_panic
Rob Clark
robdclark at gmail.com
Mon Feb 11 14:11:40 PST 2013
On Thu, Jan 24, 2013 at 10:20 AM, Daniel Vetter <daniel.vetter at ffwll.ch> wrote:
> It doesn't even show up in any header files and only used iternally.
> Originally it was (ab)used to restore the fbcon on lastclose, but that
> died with
>
> commit e8e7a2b8ccfdae0d4cb6bd25824bbedcd42da316
> Author: Dave Airlie <airlied at redhat.com>
> Date: Thu Apr 21 22:18:32 2011 +0100
>
> drm/i915: restore only the mode of this driver on lastclose (v2)
>
> Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
Reviewed-by: Rob Clark <robdclark at gmail.com>
> ---
> drivers/gpu/drm/drm_fb_helper.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm/drm_fb_helper.c
> index 6d689f2..ce816a5 100644
> --- a/drivers/gpu/drm/drm_fb_helper.c
> +++ b/drivers/gpu/drm/drm_fb_helper.c
> @@ -284,7 +284,7 @@ static bool drm_fb_helper_force_kernel_mode(void)
> return error;
> }
>
> -int drm_fb_helper_panic(struct notifier_block *n, unsigned long ununsed,
> +static int drm_fb_helper_panic(struct notifier_block *n, unsigned long ununsed,
> void *panic_str)
> {
> /*
> @@ -297,7 +297,6 @@ int drm_fb_helper_panic(struct notifier_block *n, unsigned long ununsed,
> pr_err("panic occurred, switching back to text console\n");
> return drm_fb_helper_force_kernel_mode();
> }
> -EXPORT_SYMBOL(drm_fb_helper_panic);
>
> static struct notifier_block paniced = {
> .notifier_call = drm_fb_helper_panic,
> --
> 1.7.10.4
>
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel
More information about the dri-devel
mailing list