radeonfb: Give i2c buses nicer names
PATCH 1/1 radeonfb: Give i2c buses nicer names
The name of the i2c buses shows in the output of "i2cdetect -l", so it's important to give informative names.
---
Antonino, can you please push this upstream? Thanks.
drivers/video/aty/radeon_i2c.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/video/aty/radeon_i2c.c +2 -1
@@ -69,7 +69,8 @@ static int radeon_setup_i2c_bus(struct r {int rc; -strcpy (chan->adapter.name, name); +snprintf (chan->adapter.name,sizeof (chan->adapter.name), +"radeonfb %s" , name); chan->adapter.owner =THIS_MODULE ; chan->adapter.id =I2C_HW_B_RADEON ; chan->adapter.algo_data = &chan->algo;
Signature · 7 lines
Jean Delvare ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php
Quoted 8 lines · On Tue, 17 Jun 2008 14:46:15 +0200 Jean Delvare <[email protected]> wrote:
The name of the i2c buses shows in the output of "i2cdetect -l", so it's important to give informative names.
Signed-off-by Jean Delvare <[email protected]>---
Antonino, can you please push this upstream? Thanks.
Please send these patches to Andrew Morton.
Regards,
Krzysztof
----------------------------------------------------------------------
Backstage na The Police + bilet na koncert!
kliknij >>> http://link.interia.pl/f1e3d
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php