[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1302963590.2308.9.camel@koala>
Date: Sat, 16 Apr 2011 17:19:50 +0300
From: Artem Bityutskiy <dedekind1@...il.com>
To: Murali Nalajala <mnalajal@...eaurora.org>
Cc: dwmw2@...radead.org, linux-mtd@...ts.infradead.org,
linux-arm-msm@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Dima Zavin <dima@...roid.com>,
Brian Swetland <swetland@...gle.com>,
Arve Hjønnevåg <arve@...roid.com>
Subject: Re: [PATCH 2/2] mtd: msm_nand: Add initial msm nand driver support.
> Can i export this variable now?
I do not think so, we do not export random variables.
> What is your suggestion?
But I already did provide you suggestions - kill this global variable
completely. I provided the reasons:
1. It is error prone to hide functions behind something which looks like
a constant.
2. Multiple controllers with different base addresses wouldn't work -
your driver has to be able to at least theoretically handle multiple
controllers with different bases.
--
Best Regards,
Artem Bityutskiy (Битюцкий Артём)
--
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