[PATCH] misc: lis3: fix undefined reference to lis3lv02d_init_dt

From: Daniel Mack
Date: Fri Sep 21 2012 - 17:14:29 EST


Export the symbol to fix linker errors.

Signed-off-by: Daniel Mack <zonque@xxxxxxxxx>
Reported-by: Randy Dunlap <rdunlap@xxxxxxxxxxxx>
---
drivers/misc/lis3lv02d/lis3lv02d.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/misc/lis3lv02d/lis3lv02d.c b/drivers/misc/lis3lv02d/lis3lv02d.c
index 026021e..f9c24ab 100644
--- a/drivers/misc/lis3lv02d/lis3lv02d.c
+++ b/drivers/misc/lis3lv02d/lis3lv02d.c
@@ -1089,6 +1089,7 @@ int lis3lv02d_init_dt(struct lis3lv02d *lis3)
return 0;
}
#endif
+EXPORT_SYMBOL_GPL(lis3lv02d_init_dt);

/*
* Initialise the accelerometer and the various subsystems.
--
1.7.11.4


--------------010907040800010701030900--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/