mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/4] twl4030: fix typo on EXPORT_SYMBOL twl4030_reg_read and twl4030_reg_write
@ 2011-07-05  5:55 Jean-Christophe PLAGNIOL-VILLARD
  2011-07-05  5:55 ` [PATCH 2/4] menu: fix command support as module Jean-Christophe PLAGNIOL-VILLARD
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2011-07-05  5:55 UTC (permalink / raw)
  To: barebox

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
---
 drivers/mfd/twl4030.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/mfd/twl4030.c b/drivers/mfd/twl4030.c
index 81bf48b..6a06bd4 100644
--- a/drivers/mfd/twl4030.c
+++ b/drivers/mfd/twl4030.c
@@ -60,7 +60,7 @@ int twl4030_reg_read(struct twl4030 *twl4030, u16 reg, u8 *val)
 	}
 	return 0;
 }
-EXPORT_SYMBOL(twl4030_reg_read)
+EXPORT_SYMBOL(twl4030_reg_read);
 
 int twl4030_reg_write(struct twl4030 *twl4030, u16 reg, u8 val)
 {
@@ -94,7 +94,7 @@ int twl4030_reg_write(struct twl4030 *twl4030, u16 reg, u8 val)
 	}
 	return 0;
 }
-EXPORT_SYMBOL(twl4030_reg_write)
+EXPORT_SYMBOL(twl4030_reg_write);
 
 int twl4030_set_bits(struct twl4030 *twl4030, enum twl4030_reg reg, u8 mask, u8 val)
 {
-- 
1.7.4.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 2/4] menu: fix command support as module
  2011-07-05  5:55 [PATCH 1/4] twl4030: fix typo on EXPORT_SYMBOL twl4030_reg_read and twl4030_reg_write Jean-Christophe PLAGNIOL-VILLARD
@ 2011-07-05  5:55 ` Jean-Christophe PLAGNIOL-VILLARD
  2011-07-05  5:55 ` [PATCH 3/4] menu: fix command management module support Jean-Christophe PLAGNIOL-VILLARD
  2011-07-05  5:55 ` [PATCH 4/4] password: fix command support as module Jean-Christophe PLAGNIOL-VILLARD
  2 siblings, 0 replies; 4+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2011-07-05  5:55 UTC (permalink / raw)
  To: barebox

add missing EXPORT_SYMBOL for nan static function

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
---
 common/menu.c |   17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 deletions(-)

diff --git a/common/menu.c b/common/menu.c
index 8e3cb9b..5291fcb 100644
--- a/common/menu.c
+++ b/common/menu.c
@@ -41,6 +41,7 @@ struct menu* menu_get_menus(void)
 
 	return list_entry(&menus, struct menu, list);
 }
+EXPORT_SYMBOL(menu_get_menus);
 
 void menu_free(struct menu *m)
 {
@@ -57,6 +58,7 @@ void menu_free(struct menu *m)
 
 	free(m);
 }
+EXPORT_SYMBOL(menu_free);
 
 int menu_add(struct menu *m)
 {
@@ -70,6 +72,7 @@ int menu_add(struct menu *m)
 
 	return 0;
 }
+EXPORT_SYMBOL(menu_add);
 
 void menu_remove(struct menu *m)
 {
@@ -78,6 +81,7 @@ void menu_remove(struct menu *m)
 
 	list_del(&m->list);
 }
+EXPORT_SYMBOL(menu_remove);
 
 int menu_add_entry(struct menu *m, struct menu_entry *me)
 {
@@ -96,6 +100,7 @@ int menu_add_entry(struct menu *m, struct menu_entry *me)
 
 	return 0;
 }
+EXPORT_SYMBOL(menu_add_entry);
 
 void menu_remove_entry(struct menu *m, struct menu_entry *me)
 {
@@ -110,6 +115,7 @@ void menu_remove_entry(struct menu *m, struct menu_entry *me)
 	list_for_each_entry(me, &m->entries, list)
 		me->num = i++;
 }
+EXPORT_SYMBOL(menu_remove_entry);
 
 struct menu* menu_get_by_name(char *name)
 {
@@ -125,6 +131,7 @@ struct menu* menu_get_by_name(char *name)
 
 	return NULL;
 }
+EXPORT_SYMBOL(menu_get_by_name);
 
 struct menu_entry* menu_entry_get_by_num(struct menu* m, int num)
 {
@@ -140,6 +147,7 @@ struct menu_entry* menu_entry_get_by_num(struct menu* m, int num)
 
 	return NULL;
 }
+EXPORT_SYMBOL(menu_entry_get_by_num);
 
 void menu_entry_free(struct menu_entry *me)
 {
@@ -148,6 +156,7 @@ void menu_entry_free(struct menu_entry *me)
 
 	me->free(me);
 }
+EXPORT_SYMBOL(menu_entry_free);
 
 static void print_menu_entry(struct menu *m, struct menu_entry *me,
 			     int selected)
@@ -187,6 +196,7 @@ int menu_set_selected_entry(struct menu *m, struct menu_entry* me)
 
 	return -EINVAL;
 }
+EXPORT_SYMBOL(menu_set_selected_entry);
 
 int menu_set_selected(struct menu *m, int num)
 {
@@ -201,6 +211,7 @@ int menu_set_selected(struct menu *m, int num)
 
 	return 0;
 }
+EXPORT_SYMBOL(menu_set_selected);
 
 int menu_set_auto_select(struct menu *m, int delay)
 {
@@ -211,6 +222,7 @@ int menu_set_auto_select(struct menu *m, int delay)
 
 	return 0;
 }
+EXPORT_SYMBOL(menu_set_auto_select);
 
 static void print_menu(struct menu *m)
 {
@@ -343,8 +355,10 @@ int menu_show(struct menu *m)
 
 	return 0;
 }
+EXPORT_SYMBOL(menu_show);
 
 void menu_action_exit(struct menu *m, struct menu_entry *me) {}
+EXPORT_SYMBOL(menu_action_exit);
 
 struct submenu {
 	char *submenu;
@@ -402,6 +416,7 @@ err_free:
 	submenu_free(&s->entry);
 	return ERR_PTR(ret);
 }
+EXPORT_SYMBOL(menu_add_submenu);
 
 struct action_entry {
 	char *command;
@@ -463,4 +478,4 @@ err_free:
 	menu_command_free(&e->entry);
 	return ERR_PTR(ret);
 }
-
+EXPORT_SYMBOL(menu_add_command_entry);
-- 
1.7.4.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 3/4] menu: fix command management module support
  2011-07-05  5:55 [PATCH 1/4] twl4030: fix typo on EXPORT_SYMBOL twl4030_reg_read and twl4030_reg_write Jean-Christophe PLAGNIOL-VILLARD
  2011-07-05  5:55 ` [PATCH 2/4] menu: fix command support as module Jean-Christophe PLAGNIOL-VILLARD
@ 2011-07-05  5:55 ` Jean-Christophe PLAGNIOL-VILLARD
  2011-07-05  5:55 ` [PATCH 4/4] password: fix command support as module Jean-Christophe PLAGNIOL-VILLARD
  2 siblings, 0 replies; 4+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2011-07-05  5:55 UTC (permalink / raw)
  To: barebox

it's part of the command and can not be compiled as an other module

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
---
 commands/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/commands/Kconfig b/commands/Kconfig
index 30eeff9..5700dc2 100644
--- a/commands/Kconfig
+++ b/commands/Kconfig
@@ -65,7 +65,7 @@ config CMD_MENU
 	prompt "menu"
 
 config CMD_MENU_MANAGEMENT
-	tristate
+	bool
 	depends on CMD_MENU
 	prompt "menu scripts management"
 
-- 
1.7.4.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 4/4] password: fix command support as module
  2011-07-05  5:55 [PATCH 1/4] twl4030: fix typo on EXPORT_SYMBOL twl4030_reg_read and twl4030_reg_write Jean-Christophe PLAGNIOL-VILLARD
  2011-07-05  5:55 ` [PATCH 2/4] menu: fix command support as module Jean-Christophe PLAGNIOL-VILLARD
  2011-07-05  5:55 ` [PATCH 3/4] menu: fix command management module support Jean-Christophe PLAGNIOL-VILLARD
@ 2011-07-05  5:55 ` Jean-Christophe PLAGNIOL-VILLARD
  2 siblings, 0 replies; 4+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2011-07-05  5:55 UTC (permalink / raw)
  To: barebox

add missing EXPORT_SYMBOL for nan static function

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
---
 common/password.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/common/password.c b/common/password.c
index cf36970..20e398f 100644
--- a/common/password.c
+++ b/common/password.c
@@ -87,6 +87,7 @@ int password(unsigned char *passwd, size_t length, int flags)
 		}
 	} while(1);
 }
+EXPORT_SYMBOL(password);
 
 int is_passwd_enable(void)
 {
@@ -101,11 +102,13 @@ int is_passwd_enable(void)
 
 	return 1;
 }
+EXPORT_SYMBOL(is_passwd_enable);
 
 int passwd_disable(void)
 {
 	return unlink(PASSWD_FILE);
 }
+EXPORT_SYMBOL(passwd_disable);
 
 static unsigned char to_digit(unsigned char c)
 {
@@ -167,6 +170,7 @@ exit:
 
 	return ret;
 }
+EXPORT_SYMBOL(read_passwd);
 
 int write_passwd(unsigned char *sum, size_t length)
 {
@@ -215,6 +219,7 @@ exit:
 
 	return ret;
 }
+EXPORT_SYMBOL(write_passwd);
 
 int check_passwd(unsigned char* passwd, size_t length)
 {
@@ -258,6 +263,7 @@ err1:
 
 	return ret;
 }
+EXPORT_SYMBOL(check_passwd);
 
 int set_passwd(unsigned char* passwd, size_t length)
 {
@@ -284,3 +290,4 @@ int set_passwd(unsigned char* passwd, size_t length)
 
 	return ret;
 }
+EXPORT_SYMBOL(set_passwd);
-- 
1.7.4.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-07-05  6:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-05  5:55 [PATCH 1/4] twl4030: fix typo on EXPORT_SYMBOL twl4030_reg_read and twl4030_reg_write Jean-Christophe PLAGNIOL-VILLARD
2011-07-05  5:55 ` [PATCH 2/4] menu: fix command support as module Jean-Christophe PLAGNIOL-VILLARD
2011-07-05  5:55 ` [PATCH 3/4] menu: fix command management module support Jean-Christophe PLAGNIOL-VILLARD
2011-07-05  5:55 ` [PATCH 4/4] password: fix command support as module Jean-Christophe PLAGNIOL-VILLARD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox