Messages in this thread | | | Date | Wed, 19 Oct 2005 11:36:51 +0200 | From | Eric Piel <> | Subject | Re: [patch 5/5] TI OMAP driver |
| |
10/19/2005 10:19 AM, dsaxena@plexity.net wrote/a écrit: > This patch implements the OMAP RNG driver. > > Signed-off-by: Deepak Saxena <dsaxena@plexity.net> > > --- > > Builts but untested as I do not hardware. > > Index: linux-omap-2.6/drivers/char/rng/omap-rng.c > =================================================================== > --- /dev/null > +++ linux-omap-2.6/drivers/char/rng/omap-rng.c
> +#ifdef CONFIG_PM > + > +static int omap_rng_suspend(struct device *dev, pm_message_t message, u32 level) > +{ > + omap_rng_write_reg(RNG_MASK_REG, 0x0); > + > + return 0; > +} > + > +static int omap_rng_suspend(struct device *dev, pm_message_t message, u32 level) > +{ > + omap_rng_write_reg(RNG_MASK_REG, 0x1); > + > + return 1; > +} Probably one of them should be called omap_rng_resume() ?
Eric - 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/
| |