From patchwork Fri Feb 16 16:47:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 10225087 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 736AB602CB for ; Fri, 16 Feb 2018 16:49:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5FCE9295F6 for ; Fri, 16 Feb 2018 16:49:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 52ADF295F8; Fri, 16 Feb 2018 16:49:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E442C295F6 for ; Fri, 16 Feb 2018 16:49:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=k12wiLSE9Ncs9itQDY0hBwJRemkJu28/wP8TF3RZ1Jk=; b=DL+8KaNuqy6aAXMwIqPUnvrnOf fsDiNlneN7Kqf0Nwmit3eYBxsNXsKfoZWX7RbdDh+cfyOsLUfns1JMHQK4mfCPn+2UDl0QFh1j3GC jO2Eru6H0SidgnXas3IZVhgt08CEm2gqY+Yg8OHC1hAGHxYxnQ7F8xPo1Rc5sHSK8swR+/z4uLazm Q7jboHLomenh+/OYkoRsNZd9wrCkbGBHeFTXiwFSwsDkvLDc1CdLpXS81DoJcQ/1TZn30X8UXdh6I r2BSTfNBEzYwQmYhg38S2nDlKUFYW+Ub+brRB94cwK9WS4m23opZPgR0aPfl/3A+1TrdQL7DxAx2K j3JsBROw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1emjC7-0008ID-V7; Fri, 16 Feb 2018 16:49:07 +0000 Received: from mail-wr0-x244.google.com ([2a00:1450:400c:c0c::244]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1emjAc-0007NP-GC for linux-arm-kernel@lists.infradead.org; Fri, 16 Feb 2018 16:47:37 +0000 Received: by mail-wr0-x244.google.com with SMTP id v65so3496952wrc.11 for ; Fri, 16 Feb 2018 08:47:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=OpUn7x01qgQGxYIfylU/MYyowM5pZqDAGuC+h8/zUqI=; b=pY5HEmGDG1K309C4so4lo1dIzz3E0dcDqgCauE3QOnS0weCARIbAwOWnV8BRxRwGkm lIxGfrB+nC6MwuE5m9y39W5ZXg/0oWHzAquBEdQ1nilgX/5Gh6v2Im4EApVhrbxYc5a5 5ivqrWBEYNlradh00CuT799PXS97A3osc/cghHl+lvWwHw46eoVFVx2okfXHEbD7XUyK CUchsays3w05mwxx+GgchIsn8KOZLkVhCtijJvS2HqEjHoiWKmDCfEU+3PdB+mhW+v9T Fb/ENqoSiBcSZcB3vnAFFpd7tcepZvqcqeOPRC7L+3tA6tp7Gf/jP0LauFO0UARGSVxK vOgw== 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:in-reply-to :references; bh=OpUn7x01qgQGxYIfylU/MYyowM5pZqDAGuC+h8/zUqI=; b=b9OFm4pcQllE/hNGwqvpGl5+2Do1HEmfFsrgZptXIYu3+trg/UTcJRMsy+dSQMox3N tr04jDepScDr8d54dOJs687Fm3bomcq2D38tUdqEpwjMpP0/3wONldS0LChagxxcF57q kAFfhQQ2prrYZfyHrtn3BEJA0ylKVXetp5jqq3cJxumNENFNbq9ibpTRGd861UvPAPF6 vdcxhi1g1OTx9VxIKYimBiT253a4+ryreoCqwk/wM0I1fJNvKIs/pGBkAj2h+j0mNxV+ /mNYFeub4WQuWbh05dGbN5Yd0/m4PsvZAvLBW6HxJ6wUCopxO5hUkVivk42FRFBGkUxl zxEQ== X-Gm-Message-State: APf1xPBpYRvi7B4dmZqDsskBL30K7aLnTsXxfBny3BX0wtTwxsxnvs7q eb0X/rYkfJujLhF7An1bRxzOKQ== X-Google-Smtp-Source: AH8x224SJUHUFQAyevXeL8H7AwWDHvojcepSrhsCFB3ecEn5ILhrUs1lxuNg3+RQnuGZNaZTCib6ww== X-Received: by 10.223.135.231 with SMTP id c36mr6477657wrc.36.1518799642763; Fri, 16 Feb 2018 08:47:22 -0800 (PST) Received: from brgl-bgdev.baylibre.local ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id 90sm7832826wrp.2.2018.02.16.08.47.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Feb 2018 08:47:21 -0800 (PST) From: Bartosz Golaszewski To: Sekhar Nori , Kevin Hilman , Russell King , Santosh Shilimkar , Boris Brezillon , Richard Weinberger , David Woodhouse , Brian Norris , Marek Vasut , Cyrille Pitchen Subject: [PATCH 3/6] memory: aemif: don't rely on kbuild for driver's name Date: Fri, 16 Feb 2018 17:47:09 +0100 Message-Id: <20180216164712.25898-4-brgl@bgdev.pl> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180216164712.25898-1-brgl@bgdev.pl> References: <20180216164712.25898-1-brgl@bgdev.pl> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180216_084734_637605_A515CB19 X-CRM114-Status: GOOD ( 13.74 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bartosz Golaszewski , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, David Lechner MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Bartosz Golaszewski We want to use aemif from board files. Use a static name in the driver's code. Signed-off-by: Bartosz Golaszewski --- drivers/memory/ti-aemif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/memory/ti-aemif.c b/drivers/memory/ti-aemif.c index 2744b1b91b57..588e58d40d1b 100644 --- a/drivers/memory/ti-aemif.c +++ b/drivers/memory/ti-aemif.c @@ -422,7 +422,7 @@ static struct platform_driver aemif_driver = { .probe = aemif_probe, .remove = aemif_remove, .driver = { - .name = KBUILD_MODNAME, + .name = "ti-aemif", .of_match_table = of_match_ptr(aemif_of_match), }, };