From patchwork Mon Nov 20 20:57:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jesse Chan X-Patchwork-Id: 119310 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp4362380qgn; Mon, 20 Nov 2017 12:57:54 -0800 (PST) X-Google-Smtp-Source: AGs4zMalHPaaBVwEiKdIAXkYxyFK3YREjWW8ePV65+AGLnh5ICDMETzGh/h0nAWClf5wH6dMdYDZ X-Received: by 10.101.73.74 with SMTP id q10mr8096061pgs.127.1511211474422; Mon, 20 Nov 2017 12:57:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511211474; cv=none; d=google.com; s=arc-20160816; b=y+wpmJfRdUxocbLlKoUQgQ+kpUxbQ3qZW+Cxmj6E41c7HAd2NCHvi/Rc5NurrHqLCL aKiP9Qn3yjk04+U1aQFzSZoFeQ72HjQmPXryJ0pFdEGdVG2bK0bXEPCBj4TNM1u3ysAD q+tVJnCge+nP1mvpvj3CS18zf8IGXz0Qo/4rDBHp+imu+blX0LUtwfMRYDO0k4YqPZsk gIY2opDS23ktXEulLT+Cdt3KBvoRKOpcdmvPs/q6Wa0T5vgePsY30TaMM6v/MqeSGqz8 rUA5Ee90qm7NYfKNXjeb4zkAdRT+g1U2ezW1WAai2PTbXck3PlebOuWhu6r/Xi+60QIa IKEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:message-id:date:subject:cc:from :arc-authentication-results; bh=0Pc2oTBp7XsfXwtedS8GV+k/yq9JEmm/Ua3rcKGAEUM=; b=WEFQsX6XCsDEHyjdpVBoyyUo6OP1ZN2gPyZheOGMMr7fsNbJNiXjcvuPriDbdtw/6K q276ydOxkWdwjWTsAnjZBoOqajSWXoexI32zrz7H1bSRKQm0h6++IOPAKk+nGcM1nkSN O7HexWOfqxwiROzMeHsMcwrzYOfOO5LH33z9dqnTtGdE/riLwkrugWZz82jeeXw0vjs4 n4yfHJsCu2gL623f2MOUWz99D+Z3W+9QNLlsuY3C3KcTz0wDwqoJiou/DnxN9IevTo4B XJ/SKlNXp40ruHb3D+2NtnsTVb1lXI6YSor3tZ9G54ddcSwKxw+fVgtT+uYaOzCVCaLT vfxg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m8si8740245pll.406.2017.11.20.12.57.54; Mon, 20 Nov 2017 12:57:54 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753133AbdKTU5v (ORCPT + 14 others); Mon, 20 Nov 2017 15:57:51 -0500 Received: from mail-pg0-f67.google.com ([74.125.83.67]:34051 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753082AbdKTU5s (ORCPT ); Mon, 20 Nov 2017 15:57:48 -0500 Received: by mail-pg0-f67.google.com with SMTP id 4so8350505pge.1; Mon, 20 Nov 2017 12:57:48 -0800 (PST) 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; bh=0Pc2oTBp7XsfXwtedS8GV+k/yq9JEmm/Ua3rcKGAEUM=; b=jYPNyuuTkTkD+fIm0Ex7oyV00FNr78+uUbs75cq4fkdmXiXt0kQvOWKseT+IriZ7O9 H5kNAsU5yEMeGl2gQ+9CCCfE+ZJwgTOYcDfBOpzqz573a2xyB58FYHXuleIqmfS14N+s u9ByOZxiYb6EQNgec199FvmZ0FROzuBr4pzJmcz9kKEC5CShNF0tjzTQ0VSnDk/KiDBh E3h3P++6L+d7xtRdg1H4b5gAdUfU2R1/RNj9/gARXFDPPGrOKG213hl3Ds3028YKrjF1 7UlgrQpy98XLBJzqnNevxeHjQowfoainAV5icyuGc/LdNYKk4KsbLfPUJA9vFlzJQ8Xa 2nYA== X-Gm-Message-State: AJaThX4lBblPLtRHHkyPwk2ecmUA0KgfHC1urAiAWMmeaijTVQXbUfS2 PSmjvsKecFQhH8dqQzZacu8= X-Received: by 10.99.147.3 with SMTP id b3mr3199097pge.114.1511211467823; Mon, 20 Nov 2017 12:57:47 -0800 (PST) Received: from localhost.localdomain (crown-6-217.resnet.ucsc.edu. [169.233.6.217]) by smtp.googlemail.com with ESMTPSA id z126sm10618270pfz.103.2017.11.20.12.57.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Nov 2017 12:57:47 -0800 (PST) From: Jesse Chan Cc: Jesse Chan , Andrew Lunn , Florian Fainelli , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] net: phy: cortina: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE Date: Mon, 20 Nov 2017 12:57:42 -0800 Message-Id: <20171120205742.87508-1-jc@linux.com> X-Mailer: git-send-email 2.14.1 To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This change resolves a new compile-time warning when built as a loadable module: WARNING: modpost: missing MODULE_LICENSE() in drivers/net/phy/cortina.o see include/linux/module.h for more information This adds the license as "GPL", which matches the header of the file. MODULE_DESCRIPTION and MODULE_AUTHOR are also added. Signed-off-by: Jesse Chan --- drivers/net/phy/cortina.c | 4 ++++ 1 file changed, 4 insertions(+) -- 2.14.1 diff --git a/drivers/net/phy/cortina.c b/drivers/net/phy/cortina.c index 72f4228a63bb..9442db221834 100644 --- a/drivers/net/phy/cortina.c +++ b/drivers/net/phy/cortina.c @@ -116,3 +116,7 @@ static struct mdio_device_id __maybe_unused cortina_tbl[] = { }; MODULE_DEVICE_TABLE(mdio, cortina_tbl); + +MODULE_DESCRIPTION("Cortina EDC CDR 10G Ethernet PHY driver"); +MODULE_AUTHOR("NXP"); +MODULE_LICENSE("GPL");