[PATCH v2 2/3] ARM: clps711x: Add serial driver

Alexander Shiyan shc_work at mail.ru
Mon Oct 15 15:00:08 EDT 2012


On Mon, 15 Oct 2012 19:58:52 +0200
Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com> wrote:

> > +static int clps711x_tstc(struct console_device *cdev)
> > +{
> > +	return !(readl(SYSFLG(cdev->dev->id)) & SYSFLG_URXFE);
> factorise those pull status as
> 
> status int xxx(data, mask) {}
Not clean understand this comment. You mean about one more define
for check status?

-- 
Alexander Shiyan <shc_work at mail.ru>



More information about the barebox mailing list