[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <AANLkTimzto6-fhgH25bh09DfReuTawXR9V_9PZMx9djA@mail.gmail.com>
Date: Thu, 17 Mar 2011 13:49:28 +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] rtc: rtc-ds1390/rtc-ds3234/rtc-m41t94: eliminate compile warning
hi Dennis,
2011/3/17 Dennis Aberilla <denzzzhome@...oo.com>:
> Hi Axel, that doesn't seem to make sense to me since "platform_get_drvdata" is (from include/linux/platform_device.h):
>
> #define platform_get_drvdata(_dev) dev_get_drvdata(&(_dev)->dev)
These drivers are registered as spi drivers, not platform drivers.
How about using spi_get_drvdata instead.
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