[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20100811185755.GA3527@merkur.ravnborg.org>
Date: Wed, 11 Aug 2010 20:57:55 +0200
From: Sam Ravnborg <sam@...nborg.org>
To: Jacob Tanenbaum <Jacob.Tanenbaum@...icpd.com>
Cc: linux@....linux.org.uk, linux-omap@...r.kernel.org,
linux-kernel@...r.kernel.org, rmk@....linux.org.uk,
tony@...mide.com
Subject: Re: [PATCH 1/4] initial support for LogicPD's OMAP3 SOM andTORPEDO
development kits
Hi Jacob.
Quick feedback!
You should teach your mailer better manners so it is
visible what you quote and what you answer.
>
> > +static void __init omap3logic_init_irq(void)
> > +{
> > + omap_board_config = omap3logic_config;
> > + omap_board_config_size = ARRAY_SIZE(omap3logic_config);
> > + omap2_init_common_hw(mt46h32m32lf6_sdrc_params,
> > + mt46h32m32lf6_sdrc_params);
> > + omap_init_irq();
> > +#ifdef CONFIG_OMAP_32K_TIMER
> > + omap2_gp_clockevent_set_gptimer(12);
> > +#endif
>
> Fix this on the called site. There is zero reason
> to sprinkle all user of omap2_gp_clockevent_set_gptimer()
> with ifdef/endif.
>
> Will fix
I noticed other users of omap2_gp_clockevent_set_gptimer()
does the same ifdef/endif.
You should take care of them when you have a proper way to do so.
Obviously in another patch.
Sam
--
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