Message ID | 1342617604-19516-1-git-send-email-nbowler@elliptictech.com |
---|---|
State | Accepted |
Headers | show
Return-Path: <rtc-linux+bncCMq859OZBRCg8JqABRoE74D3vw@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-vb0-f56.google.com (mail-vb0-f56.google.com [209.85.212.56]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (not verified)) by ozlabs.org (Postfix) with ESMTPS id ED6742C0373 for <incoming@patchwork.ozlabs.org>; Wed, 18 Jul 2012 23:20:35 +1000 (EST) Received: by vbbfa15 with SMTP id fa15sf1736917vbb.11 for <incoming@patchwork.ozlabs.org>; Wed, 18 Jul 2012 06:20:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=mime-version:x-beenthere:received-spf:from:to:cc:subject:date :message-id:x-mailer:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-google-group-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type; bh=eLhFJs1uHTFx8LMumkEJlJEvaCn57VnPHDHmoQh74vw=; b=RUPUVnlJwLJ+uEgPA5STaRz3ErfXKZo1LcU6QUUnx3dyJpNIKllgThYShOSmuz2n1w UFWlbU0WevWQIuHo12fOht7PUGLY7+Qpks3DdQckXDO5a1RQdJ0TTPs2+EdoKyrRnA15 Ays4rWlQzaq5HFJJSVqZuAqIQ3oqcgonu9qyc= Received: by 10.50.187.136 with SMTP id fs8mr353799igc.2.1342617632461; Wed, 18 Jul 2012 06:20:32 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.231.80.14 with SMTP id r14ls1754787ibk.4.gmail; Wed, 18 Jul 2012 06:20:31 -0700 (PDT) Received: by 10.50.197.137 with SMTP id iu9mr2192798igc.1.1342617631038; Wed, 18 Jul 2012 06:20:31 -0700 (PDT) Received: by 10.50.197.137 with SMTP id iu9mr2192797igc.1.1342617631023; Wed, 18 Jul 2012 06:20:31 -0700 (PDT) Received: from ironport-01.sms.scalar.ca (mx.scalarmail.ca. [98.158.95.75]) by gmr-mx.google.com with ESMTPS id bg10si4700765igc.3.2012.07.18.06.20.30 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 18 Jul 2012 06:20:30 -0700 (PDT) Received-SPF: neutral (google.com: 98.158.95.75 is neither permitted nor denied by best guess record for domain of prvs=nbowler=5394a34ce@mail.ellipticsemi.com) client-ip=98.158.95.75; Received: from unknown (HELO sms-zimbra-mta-01.sms.scalar.ca) ([192.168.32.56]) by ironport-01.sms.scalar.ca with ESMTP; 18 Jul 2012 09:20:30 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by sms-zimbra-mta-01.sms.scalar.ca (Postfix) with ESMTP id EFC9F17F49; Wed, 18 Jul 2012 09:20:29 -0400 (EDT) Received: from sms-zimbra-mta-01.sms.scalar.ca ([127.0.0.1]) by localhost (sms-zimbra-mta-01.sms.scalar.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sjodT8C4idvg; Wed, 18 Jul 2012 09:20:29 -0400 (EDT) Received: from mail.ellipticsemi.com (mail.elliptictech.com [209.217.122.41]) (Authenticated sender: nbowler@elliptictech.com) by sms-zimbra-mta-01.sms.scalar.ca (Postfix) with ESMTPSA id 02BE317F45; Wed, 18 Jul 2012 09:20:28 -0400 (EDT) Received: by mail.ellipticsemi.com (nbSMTP-1.00) for uid 550 (using TLSv1/SSLv3 with cipher DHE-RSA-AES256-SHA (256/256 bits)) nbowler@mail.ellipticsemi.com; Wed, 18 Jul 2012 09:20:29 -0400 (EDT) From: Nick Bowler <nbowler@elliptictech.com> To: linux-kernel@vger.kernel.org, rtc-linux@googlegroups.com Cc: Alessandro Zummo <a.zummo@towertech.it> Subject: [rtc-linux] [PATCH 1/2] drivers/rtc/rtc-pcf8563.c: set owner field in driver struct. Date: Wed, 18 Jul 2012 09:20:03 -0400 Message-Id: <1342617604-19516-1-git-send-email-nbowler@elliptictech.com> X-Mailer: git-send-email 1.7.8.6 X-Original-Sender: nbowler@elliptictech.com X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 98.158.95.75 is neither permitted nor denied by best guess record for domain of prvs=nbowler=5394a34ce@mail.ellipticsemi.com) smtp.mail=prvs=nbowler=5394a34ce@mail.ellipticsemi.com Reply-To: rtc-linux@googlegroups.com Precedence: list Mailing-list: list rtc-linux@googlegroups.com; contact rtc-linux+owners@googlegroups.com List-ID: <rtc-linux.googlegroups.com> X-Google-Group-Id: 712029733259 List-Post: <http://groups.google.com/group/rtc-linux/post?hl=en_US>, <mailto:rtc-linux@googlegroups.com> List-Help: <http://groups.google.com/support/?hl=en_US>, <mailto:rtc-linux+help@googlegroups.com> List-Archive: <http://groups.google.com/group/rtc-linux?hl=en_US> Sender: rtc-linux@googlegroups.com List-Subscribe: <http://groups.google.com/group/rtc-linux/subscribe?hl=en_US>, <mailto:rtc-linux+subscribe@googlegroups.com> List-Unsubscribe: <http://groups.google.com/group/rtc-linux/subscribe?hl=en_US>, <mailto:googlegroups-manage+712029733259+unsubscribe@googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1 |
diff --git a/drivers/rtc/rtc-pcf8563.c b/drivers/rtc/rtc-pcf8563.c index 97a3284..24a9d6a 100644 --- a/drivers/rtc/rtc-pcf8563.c +++ b/drivers/rtc/rtc-pcf8563.c @@ -288,6 +288,7 @@ MODULE_DEVICE_TABLE(i2c, pcf8563_id); static struct i2c_driver pcf8563_driver = { .driver = { .name = "rtc-pcf8563", + .owner = THIS_MODULE, }, .probe = pcf8563_probe, .remove = pcf8563_remove,
The owner member is supposed to be set to the module implementing the device driver, i.e., THIS_MODULE. This enables the appropriate module link in sysfs. Signed-off-by: Nick Bowler <nbowler@elliptictech.com> --- drivers/rtc/rtc-pcf8563.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)