[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <BANLkTikOEPBNN1FiPB1TcQr0oc2u9BpOGw@mail.gmail.com>
Date: Wed, 18 May 2011 13:05:38 +0800
From: Axel Lin <axel.lin@...il.com>
To: Dennis Aberilla <denzzzhome@...oo.com>
Cc: linux-kernel@...r.kernel.org, Mark Jackson <mpfj@...c.co.uk>,
"Kim B. Heino" <Kim.Heino@...egiga.com>,
Alessandro Zummo <a.zummo@...ertech.it>,
Thomas Gleixner <tglx@...utronix.de>,
rtc-linux@...glegroups.com
Subject: Re: [PATCH v2] rtc: rtc-ds1390/rtc-ds3234/rtc-m41t94: eliminate
compile warning
hi Dennis,
2011/5/18 Dennis Aberilla <denzzzhome@...oo.com>:
> From: Axel Lin <axel.lin@...il.com>
>
> These drivers are registered as spi drivers,
> thus use spi_get_drvdata instead of platform_get_drvdata.
>
> This patch eliminates the following compile warning:
> drivers/rtc/rtc-ds1390.c: In function 'ds1390_remove':
> drivers/rtc/rtc-ds1390.c:161: warning: passing argument 1 of 'platform_get_drvdata' from incompatible pointer type
> drivers/rtc/rtc-ds3234.c: In function 'ds3234_remove':
> drivers/rtc/rtc-ds3234.c:161: warning: passing argument 1 of 'platform_get_drvdata' from incompatible pointer type
> drivers/rtc/rtc-m41t94.c: In function 'm41t94_remove':
> drivers/rtc/rtc-m41t94.c:139: warning: passing argument 1 of 'platform_get_drvdata' from incompatible pointer type
>
> Signed-off-by: Axel Lin <axel.lin@...il.com>
> Signed-off by: Dennis Aberilla <denzzzhome@...oo.com>
> Cc: Mark Jackson <mpfj@...c.co.uk>
> Cc: Kim B. Heino <Kim.Heino@...egiga.com>
>
Just FYI.
A similar patch "spi/rtc-{ds1390,ds3234,m41t94}: Use spi_get_drvdata()
for SPI devices"
from Geert Uytterhoeven is already merged to linux-next.
Regards,
Axel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists