Messages in this thread | | | From | Axel Lin <> | Date | Thu, 17 Mar 2011 13:49:28 +0800 | Subject | Re: [PATCH] rtc: rtc-ds1390/rtc-ds3234/rtc-m41t94: eliminate compile warning |
| |
hi Dennis,
2011/3/17 Dennis Aberilla <denzzzhome@yahoo.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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |