Commit e2c8b93e65935498d9bd419cec900221ace70c5b
Committed by
Benjamin Herrenschmidt
1 parent
2bad742388
Exists in
master
and in
13 other branches
powerpc/powernv: Remove some OPAL function declaration duplication
We had some duplication of the internal OPAL functions. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Showing 1 changed file with 2 additions and 10 deletions Side-by-side Diff
arch/powerpc/include/asm/opal.h
... | ... | @@ -884,7 +884,8 @@ |
884 | 884 | int64_t opal_sensor_read(uint32_t sensor_hndl, int token, __be32 *sensor_data); |
885 | 885 | |
886 | 886 | /* Internal functions */ |
887 | -extern int early_init_dt_scan_opal(unsigned long node, const char *uname, int depth, void *data); | |
887 | +extern int early_init_dt_scan_opal(unsigned long node, const char *uname, | |
888 | + int depth, void *data); | |
888 | 889 | extern int early_init_dt_scan_recoverable_ranges(unsigned long node, |
889 | 890 | const char *uname, int depth, void *data); |
890 | 891 | |
... | ... | @@ -893,10 +894,6 @@ |
893 | 894 | |
894 | 895 | extern void hvc_opal_init_early(void); |
895 | 896 | |
896 | -/* Internal functions */ | |
897 | -extern int early_init_dt_scan_opal(unsigned long node, const char *uname, | |
898 | - int depth, void *data); | |
899 | - | |
900 | 897 | extern int opal_notifier_register(struct notifier_block *nb); |
901 | 898 | extern int opal_notifier_unregister(struct notifier_block *nb); |
902 | 899 | |
903 | 900 | |
... | ... | @@ -906,17 +903,12 @@ |
906 | 903 | extern void opal_notifier_disable(void); |
907 | 904 | extern void opal_notifier_update_evt(uint64_t evt_mask, uint64_t evt_val); |
908 | 905 | |
909 | -extern int opal_get_chars(uint32_t vtermno, char *buf, int count); | |
910 | -extern int opal_put_chars(uint32_t vtermno, const char *buf, int total_len); | |
911 | - | |
912 | 906 | extern int __opal_async_get_token(void); |
913 | 907 | extern int opal_async_get_token_interruptible(void); |
914 | 908 | extern int __opal_async_release_token(int token); |
915 | 909 | extern int opal_async_release_token(int token); |
916 | 910 | extern int opal_async_wait_response(uint64_t token, struct opal_msg *msg); |
917 | 911 | extern int opal_get_sensor_data(u32 sensor_hndl, u32 *sensor_data); |
918 | - | |
919 | -extern void hvc_opal_init_early(void); | |
920 | 912 | |
921 | 913 | struct rtc_time; |
922 | 914 | extern int opal_set_rtc_time(struct rtc_time *tm); |