aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-06-30 23:10:21 -0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-06-30 23:10:21 -0400
commit87fa35dd881fd61a2a8166892366f2c22c34a1fa (patch)
treec1f80b9287f3e333d66740bbb5189afe8c126e03 /arch/powerpc
parent9def247a7076bcced342a9783da79f2e0b0a3f47 (diff)
powerpc/hvsi: Fix conflict with old HVSI driver
A mix of think & mismerge on my side caused a problem where both the new hvsi_lib and the old hvsi driver gets compiled and try to define symbols with the same name. This fixes it by renaming the hvsi_lib exported symbols. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/include/asm/hvsi.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/arch/powerpc/include/asm/hvsi.h b/arch/powerpc/include/asm/hvsi.h
index 91e0453b374..d3f64f36181 100644
--- a/arch/powerpc/include/asm/hvsi.h
+++ b/arch/powerpc/include/asm/hvsi.h
@@ -78,17 +78,17 @@ struct hvsi_priv {
78 78
79/* hvsi lib functions */ 79/* hvsi lib functions */
80struct hvc_struct; 80struct hvc_struct;
81extern void hvsi_init(struct hvsi_priv *pv, 81extern void hvsilib_init(struct hvsi_priv *pv,
82 int (*get_chars)(uint32_t termno, char *buf, int count), 82 int (*get_chars)(uint32_t termno, char *buf, int count),
83 int (*put_chars)(uint32_t termno, const char *buf, 83 int (*put_chars)(uint32_t termno, const char *buf,
84 int count), 84 int count),
85 int termno, int is_console); 85 int termno, int is_console);
86extern int hvsi_open(struct hvsi_priv *pv, struct hvc_struct *hp); 86extern int hvsilib_open(struct hvsi_priv *pv, struct hvc_struct *hp);
87extern void hvsi_close(struct hvsi_priv *pv, struct hvc_struct *hp); 87extern void hvsilib_close(struct hvsi_priv *pv, struct hvc_struct *hp);
88extern int hvsi_read_mctrl(struct hvsi_priv *pv); 88extern int hvsilib_read_mctrl(struct hvsi_priv *pv);
89extern int hvsi_write_mctrl(struct hvsi_priv *pv, int dtr); 89extern int hvsilib_write_mctrl(struct hvsi_priv *pv, int dtr);
90extern void hvsi_establish(struct hvsi_priv *pv); 90extern void hvsilib_establish(struct hvsi_priv *pv);
91extern int hvsi_get_chars(struct hvsi_priv *pv, char *buf, int count); 91extern int hvsilib_get_chars(struct hvsi_priv *pv, char *buf, int count);
92extern int hvsi_put_chars(struct hvsi_priv *pv, const char *buf, int count); 92extern int hvsilib_put_chars(struct hvsi_priv *pv, const char *buf, int count);
93 93
94#endif /* _HVSI_H */ 94#endif /* _HVSI_H */