Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754499AbYJHIX3 (ORCPT ); Wed, 8 Oct 2008 04:23:29 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751309AbYJHIXV (ORCPT ); Wed, 8 Oct 2008 04:23:21 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:55331 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751021AbYJHIXT convert rfc822-to-8bit (ORCPT ); Wed, 8 Oct 2008 04:23:19 -0400 From: "Gadiyar, Anand" To: "Gadiyar, Anand" , "johnpol@2ka.mipt.ru" CC: "linux-kernel@vger.kernel.org" , "linux-omap@vger.kernel.org" , "Chikkature Rajashekar, Madhusudhan" Date: Wed, 8 Oct 2008 13:50:47 +0530 Subject: RE: [PATCH 4/5] W1: Export w1_read_8 function Thread-Topic: [PATCH 4/5] W1: Export w1_read_8 function Thread-Index: AckpFwfRX/MmeudqRFiihm0naWvutQAB5v9w Message-ID: <5A47E75E594F054BAF48C5E4FC4B92AB02D6107B10@dbde02.ent.ti.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2189 Lines: 58 (Sorry. I missed linux-omap in the CC list for this one.) > -----Original Message----- > From: Gadiyar, Anand > Sent: Wednesday, October 08, 2008 12:55 PM > To: johnpol@2ka.mipt.ru > Cc: linux-kernel@vger.kernel.org; > linux-kernel@vger.kernel.org; 'Madhusudhan Chikkature' > Subject: [PATCH 4/5] W1: Export w1_read_8 function > > From: Madhusudhan Chikkature > > This patch exports the w1_read_8 function for use of drivers. > > Signed-off-by: Madhusudhan Chikkature > Acked-by: Evgeniy Polyakov > --- > drivers/w1/w1.h | 1 + > drivers/w1/w1_io.c | 3 ++- > 2 files changed, 3 insertions(+), 1 deletion(-) > > Index: linux-2.6/drivers/w1/w1_io.c > =================================================================== > --- linux-2.6.orig/drivers/w1/w1_io.c 2008-09-19 13:39:41.000000000 +0530 > +++ linux-2.6/drivers/w1/w1_io.c 2008-09-26 16:39:31.000000000 +0530 > @@ -177,7 +177,7 @@ u8 w1_triplet(struct w1_master *dev, int > * @param dev the master device > * @return the byte read > */ > -static u8 w1_read_8(struct w1_master * dev) > +u8 w1_read_8(struct w1_master * dev) > { > int i; > u8 res = 0; > @@ -190,6 +190,7 @@ static u8 w1_read_8(struct w1_master * d > > return res; > } > +EXPORT_SYMBOL_GPL(w1_read_8); > > /** > * Writes a series of bytes. > Index: linux-2.6/drivers/w1/w1.h > =================================================================== > --- linux-2.6.orig/drivers/w1/w1.h 2008-09-19 13:39:41.000000000 +0530 > +++ linux-2.6/drivers/w1/w1.h 2008-09-26 16:42:45.000000000 +0530 > @@ -189,6 +189,7 @@ struct w1_master *w1_search_master_id(u3 > > u8 w1_triplet(struct w1_master *dev, int bdir); > void w1_write_8(struct w1_master *, u8); > +u8 w1_read_8(struct w1_master *); > int w1_reset_bus(struct w1_master *); > u8 w1_calc_crc8(u8 *, int); > void w1_write_block(struct w1_master *, const u8 *, int);-- 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/