Re: [PATCH 1/3] rtc: stmp3xxx: add wdt-accessor function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Wolfram,

On Thu, Dec 08, 2011 at 06:19:41PM +0100, Wolfram Sang wrote:
> @@ -0,0 +1,15 @@
> +/*
> + * stmp3xxx_rtc_wdt.h
> + *
> + * Copyright (C) 2011 Wolfram Sang, Pengutronix e.K.
> + *
> + * This file is released under the GPLv2.
> + */
> +#ifndef __LINUX_STMP3XXX_RTC_WDT_H
> +#define __LINUX_STMP3XXX_RTC_WDT_H
> +
> +struct stmp3xxx_wdt_pdata {
> +	void (*wdt_set_timeout)(struct device *dev, u32 timeout);

Passing callback with platform_data will make device tree migration
difficult.  Is there any possibility we can save the callback here?

Regards,
Shawn

> +};
> +
> +#endif /* __LINUX_STMP3XXX_RTC_WDT_H */
> -- 
> 1.7.7.3

--
To unsubscribe from this list: send the line "unsubscribe linux-watchdog" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux