lkml.org 
[lkml]   [2011]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] gpiolib: export gpiochip_find
Export function gpiochip_find so that modules can use it.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Grant Likely <grant.likely@secretlab.ca>
---
I need this to add support for SMBus multiplexing on my Asus Z8NA-D6
board.

drivers/gpio/gpiolib.c | 1 +
1 file changed, 1 insertion(+)

--- linux-2.6.39-rc3.orig/drivers/gpio/gpiolib.c 2011-03-30 10:57:19.000000000 +0200
+++ linux-2.6.39-rc3/drivers/gpio/gpiolib.c 2011-04-16 09:00:25.000000000 +0200
@@ -1165,6 +1165,7 @@ struct gpio_chip *gpiochip_find(void *da

return chip;
}
+EXPORT_SYMBOL_GPL(gpiochip_find);

/* These "optional" allocation calls help prevent drivers from stomping
* on each other, and help provide better diagnostics in debugfs.

--
Jean Delvare


\
 
 \ /
  Last update: 2011-04-16 09:33    [W:0.063 / U:0.328 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site