From patchwork Thu Jun 6 09:47:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 165962 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp8549743ili; Thu, 6 Jun 2019 02:47:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqxzDNFN7NX1eY08mxGa6yOaagPRf5SirQ5ltYfbpmv1DTRoL+FcFUu3MkIsAYeSdl8QsToE X-Received: by 2002:a17:902:108a:: with SMTP id c10mr48513892pla.48.1559814441689; Thu, 06 Jun 2019 02:47:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559814441; cv=none; d=google.com; s=arc-20160816; b=KfkG9HxUtIneemm0+Ev7HgLpel2Xhskp1plTWvVlhf6JCYOHREqKDixWe76VtjHHpT qx+NyRZxFkYl2gTRjNTRWTYB6yhuY3x516AMLCoas9cT5vyJKscYbYwMv4G9UHHDJMsZ STczEtZSVtHYdVeETV0fXNtL4cyAyzPE9TKeehv5gZ2eQTN+VX/nps1fn0XJGmyNQa9w 2gG+X5kVk+DZk4zFLCJHueadgb2J0zFZXCYNdqcfj6m3KG1ZiUnptHz43gX8YLlT4Zt4 N+xUHuhN1bcSWbt3AuCKSkTcAumUJu/NfaRiZ4byDL5D1vzOrcAatd2sSPxH8l8JIvq0 xY6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=dQfbJoiQ5WTWGjUJ1PADkmMlX7UTg1NHq4Oh3Ljtrbo=; b=QA5cWUoA3SP46kTBgR909p45kSkjlUc5OSmwE4MkPRiEI0H9PWal8w7NTjsuwFRAwP qdh+QD1BH17/A8XIl3NiUlyjEMsSbCwOcXqrcoDUw19fO5nkg+b26Q1Qa/RC+NU708HB bZQkcYULrHkHKJjiXr49p4yayK3wrwzxn8ikEnHY64mMogXdt7VcgxtDyLZ93zPM1aAj FuLf/As9Wiql8xM89ucrtBbMp3XdjvVvKSri1fI4EeR5eaVVKJBMhKpVcXsmIEbzHl+Q gPjZEjYkUi6qZLohMidiSnlzM5JbDJKIfGBEymjmD0JDo0sJL+xTKMrPuDJpb+QXls3m lfDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=v0l1t7mo; spf=pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v3si1509621pju.25.2019.06.06.02.47.21; Thu, 06 Jun 2019 02:47:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=v0l1t7mo; spf=pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728030AbfFFJrU (ORCPT + 3 others); Thu, 6 Jun 2019 05:47:20 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:38026 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728031AbfFFJrT (ORCPT ); Thu, 6 Jun 2019 05:47:19 -0400 Received: by mail-lj1-f196.google.com with SMTP id o13so1370988lji.5 for ; Thu, 06 Jun 2019 02:47:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=dQfbJoiQ5WTWGjUJ1PADkmMlX7UTg1NHq4Oh3Ljtrbo=; b=v0l1t7motrGGJZjUZw7mZhdXu71rcqkX14qgcfNJsj0pBDkflH+Yc72Rh58UO+K/ma NkcmwaO4ZRwUGSEf8FDCBIG9d5FZ14s3/Wu+e7uRpuc3N+NwdVmPkgZ3ASVth/T3MdYP zkyIoXbtLNxGxDWBwLZLLWP5BgK4Cj1MAjGGDwMPETEClXrqSkfGB+ui3a6x4JzT1JRI G7GVtXsWqf6Jrl0j4cKaP5Z91IJPDBMDrMDcVB3HTk4V95x6QgEjoib0TMkiQWzWtb0X Fwk6a3D+h0Vdr8Ji3cBC+l5ZJv9LqytaxcbMrFHRJKAG/dbb4ZLq/iU1m+2Kc78Nhxrd PHug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=dQfbJoiQ5WTWGjUJ1PADkmMlX7UTg1NHq4Oh3Ljtrbo=; b=klz1IRgTy2iGJ9yUeQs+nCu6Tl7rELSgY9HbK1wg0V0HsupwK49Sy+y61sCNm5xQYJ eQxwxhi3WgQu0aXRqNez/2+lH77eQ19ZUxnjSVcyuGmRkUBlNkZzP1S9ErUqZmEX9ECh ILYzVmmBLiv5qTaNHhUJqwKyLXNXxPyHbm//CUc9bpEn4ko9ekVGwTsMDlMYWCMNCiJG 55cj0rpBe5WKlsPYluWaMCuhtHrbdUSGcol/pC55cl1kYIKxPOF1ZygHZwB7S+yWp75S Gjk9GbV6df1RmT9DJM8IzaPwivk+LAzBvqgyFY48hf3Y8nfwjEYyo1Dl/YRMaPIkm4rc rF1g== X-Gm-Message-State: APjAAAVzR8/JUVdMiYrtsfBppDNHzk9rVx5beiePnpVKxsfy8gTW3jxC ZRiqBj8njf9Hkp5smOk6pCi3bw== X-Received: by 2002:a2e:9cc3:: with SMTP id g3mr9015135ljj.117.1559814437482; Thu, 06 Jun 2019 02:47:17 -0700 (PDT) Received: from localhost (c-1c3670d5.07-21-73746f28.bbcust.telenor.se. [213.112.54.28]) by smtp.gmail.com with ESMTPSA id s20sm214365lfb.95.2019.06.06.02.47.16 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 06 Jun 2019 02:47:16 -0700 (PDT) From: Anders Roxell To: marex@denx.de, stefan@agner.ch, airlied@linux.ie, daniel@ffwll.ch, shawnguo@kernel.org, s.hauer@pengutronix.de, b.zolnierkie@samsung.com Cc: andrew@lunn.ch, vivien.didelot@gmail.com, f.fainelli@gmail.com, a.hajda@samsung.com, mchehab@kernel.org, p.zabel@pengutronix.de, hkallweit1@gmail.com, lee.jones@linaro.org, lgirdwood@gmail.com, broonie@kernel.org, davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-fbdev@vger.kernel.org, linux-media@vger.kernel.org, Anders Roxell Subject: [PATCH 3/8] drivers: (video|gpu): fix warning same module names Date: Thu, 6 Jun 2019 11:47:12 +0200 Message-Id: <20190606094712.23715-1-anders.roxell@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org When building with CONFIG_DRM_MXSFB and CONFIG_FB_MXS enabled as loadable modules, we see the following warning: warning: same module names found: drivers/video/fbdev/mxsfb.ko drivers/gpu/drm/mxsfb/mxsfb.ko Rework so the names matches the config fragment. Signed-off-by: Anders Roxell --- drivers/gpu/drm/mxsfb/Makefile | 4 ++-- drivers/video/fbdev/Makefile | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) -- 2.20.1 diff --git a/drivers/gpu/drm/mxsfb/Makefile b/drivers/gpu/drm/mxsfb/Makefile index ff6e358088fa..5d49d7548e66 100644 --- a/drivers/gpu/drm/mxsfb/Makefile +++ b/drivers/gpu/drm/mxsfb/Makefile @@ -1,3 +1,3 @@ # SPDX-License-Identifier: GPL-2.0-only -mxsfb-y := mxsfb_drv.o mxsfb_crtc.o mxsfb_out.o -obj-$(CONFIG_DRM_MXSFB) += mxsfb.o +drm-mxsfb-y := mxsfb_drv.o mxsfb_crtc.o mxsfb_out.o +obj-$(CONFIG_DRM_MXSFB) += drm-mxsfb.o diff --git a/drivers/video/fbdev/Makefile b/drivers/video/fbdev/Makefile index 655f2537cac1..7ee967525af2 100644 --- a/drivers/video/fbdev/Makefile +++ b/drivers/video/fbdev/Makefile @@ -131,7 +131,8 @@ obj-$(CONFIG_FB_VGA16) += vga16fb.o obj-$(CONFIG_FB_OF) += offb.o obj-$(CONFIG_FB_MX3) += mx3fb.o obj-$(CONFIG_FB_DA8XX) += da8xx-fb.o -obj-$(CONFIG_FB_MXS) += mxsfb.o +obj-$(CONFIG_FB_MXS) += fb-mxs.o +fb-mxs-objs := mxsfb.o obj-$(CONFIG_FB_SSD1307) += ssd1307fb.o obj-$(CONFIG_FB_SIMPLE) += simplefb.o