From patchwork Sat Dec 13 06:59:31 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Gaignard X-Patchwork-Id: 42204 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f197.google.com (mail-wi0-f197.google.com [209.85.212.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D306521772 for ; Sat, 13 Dec 2014 06:59:49 +0000 (UTC) Received: by mail-wi0-f197.google.com with SMTP id l15sf1978453wiw.4 for ; Fri, 12 Dec 2014 22:59:49 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:delivered-to:from:to:subject:date :message-id:cc:precedence:list-id:list-unsubscribe:list-archive :list-post:list-help:list-subscribe:mime-version:content-type :content-transfer-encoding:errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=Ax/pk88v46dYC/SwWZKzgfVH8oFXYdnhizQw7Gyc2XU=; b=PTUAQChniniebkQEv/53TgsPZndxnsD5pnHepTTgLSQlCvTIfweK+/6DYjDg8MFhR0 0EGOMFmCaUtCqjSmRG0HlL5+i8iF3SrRawXb5prTzHOzRZnGDPTZeBb2dV5Grghnd0oc 3NPDp2Bkl7q3DpxEpdjh5XJJqeRyI6jcn8ieS2GcurSe0dAmgp7YN0BcdBlFeCTEPrG7 z9gpSrTUF1ngZJzkLVKDc/25inRd9XXRKsPakOIoP+VF3ejQympgWP+4coXXbN7qwbsf o1WNCdZL19ey4CUo7fl3nipkJTL/0FjcjJAUsXTRy9No3J0cTfR/BH8uVI29e7+uneDT I9Zg== X-Gm-Message-State: ALoCoQlo1Q0HhCjCCGw8A9afdmZiQiA39IqGUMD3zT/HgxjEhNXOmWwtmpSIXG9uYqbNB0hUNgyb X-Received: by 10.180.24.131 with SMTP id u3mr1311874wif.4.1418453989027; Fri, 12 Dec 2014 22:59:49 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.153.11.163 with SMTP id ej3ls501321lad.94.gmail; Fri, 12 Dec 2014 22:59:48 -0800 (PST) X-Received: by 10.152.20.98 with SMTP id m2mr17705556lae.49.1418453988800; Fri, 12 Dec 2014 22:59:48 -0800 (PST) Received: from mail-lb0-f171.google.com (mail-lb0-f171.google.com. [209.85.217.171]) by mx.google.com with ESMTPS id wo4si3665939lbb.17.2014.12.12.22.59.48 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 12 Dec 2014 22:59:48 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.171 as permitted sender) client-ip=209.85.217.171; Received: by mail-lb0-f171.google.com with SMTP id w7so2639415lbi.2 for ; Fri, 12 Dec 2014 22:59:48 -0800 (PST) X-Received: by 10.112.42.198 with SMTP id q6mr19225404lbl.69.1418453988568; Fri, 12 Dec 2014 22:59:48 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.142.69 with SMTP id ru5csp192199lbb; Fri, 12 Dec 2014 22:59:47 -0800 (PST) X-Received: by 10.66.197.135 with SMTP id iu7mr28703948pac.155.1418453986768; Fri, 12 Dec 2014 22:59:46 -0800 (PST) Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTP id au6si5106240pbd.50.2014.12.12.22.59.45 for ; Fri, 12 Dec 2014 22:59:46 -0800 (PST) Received-SPF: none (google.com: dri-devel-bounces@lists.freedesktop.org does not designate permitted sender hosts) client-ip=131.252.210.177; Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B5F1A6E2B5; Fri, 12 Dec 2014 22:59:44 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by gabe.freedesktop.org (Postfix) with ESMTP id F0E1A6E2B5 for ; Fri, 12 Dec 2014 22:59:42 -0800 (PST) Received: by mail-wi0-f182.google.com with SMTP id h11so4532685wiw.9 for ; Fri, 12 Dec 2014 22:59:42 -0800 (PST) X-Received: by 10.180.228.72 with SMTP id sg8mr14205847wic.48.1418453982168; Fri, 12 Dec 2014 22:59:42 -0800 (PST) Received: from lmenx321.st.com. (lya72-2-88-175-155-153.fbx.proxad.net. [88.175.155.153]) by mx.google.com with ESMTPSA id rx8sm4490826wjb.30.2014.12.12.22.59.41 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 12 Dec 2014 22:59:41 -0800 (PST) From: Benjamin Gaignard To: dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org, airlied@redhat.com Subject: [PATCH] drm: sti: fix module compilation issue Date: Sat, 13 Dec 2014 07:59:31 +0100 Message-Id: <1418453971-26479-1-git-send-email-benjamin.gaignard@linaro.org> X-Mailer: git-send-email 1.9.1 Cc: Benjamin Gaignard X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: benjamin.gaignard@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.171 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 When compiling in module some symbol aren't missing, export them correctly. Signed-off-by: Benjamin Gaignard --- drivers/gpu/drm/sti/sti_drm_plane.c | 1 + drivers/gpu/drm/sti/sti_hqvdp.c | 1 + drivers/gpu/drm/sti/sti_layer.c | 2 ++ 3 files changed, 4 insertions(+) diff --git a/drivers/gpu/drm/sti/sti_drm_plane.c b/drivers/gpu/drm/sti/sti_drm_plane.c index c9dd0e5..bb6a293 100644 --- a/drivers/gpu/drm/sti/sti_drm_plane.c +++ b/drivers/gpu/drm/sti/sti_drm_plane.c @@ -194,3 +194,4 @@ struct drm_plane *sti_drm_plane_init(struct drm_device *dev, return &layer->plane; } +EXPORT_SYMBOL(sti_drm_plane_init); diff --git a/drivers/gpu/drm/sti/sti_hqvdp.c b/drivers/gpu/drm/sti/sti_hqvdp.c index 200d020..f3db05d 100644 --- a/drivers/gpu/drm/sti/sti_hqvdp.c +++ b/drivers/gpu/drm/sti/sti_hqvdp.c @@ -816,6 +816,7 @@ struct sti_layer *sti_hqvdp_create(struct device *dev) return &hqvdp->layer; } +EXPORT_SYMBOL(sti_hqvdp_create); static void sti_hqvdp_init_plugs(struct sti_hqvdp *hqvdp) { diff --git a/drivers/gpu/drm/sti/sti_layer.c b/drivers/gpu/drm/sti/sti_layer.c index 480ec1c..899104f 100644 --- a/drivers/gpu/drm/sti/sti_layer.c +++ b/drivers/gpu/drm/sti/sti_layer.c @@ -40,6 +40,7 @@ const char *sti_layer_to_str(struct sti_layer *layer) return ""; } } +EXPORT_SYMBOL(sti_layer_to_str); struct sti_layer *sti_layer_create(struct device *dev, int desc, void __iomem *baseaddr) @@ -77,6 +78,7 @@ struct sti_layer *sti_layer_create(struct device *dev, int desc, return layer; } +EXPORT_SYMBOL(sti_layer_create); int sti_layer_prepare(struct sti_layer *layer, struct drm_crtc *crtc,