mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-22 12:14:01 +08:00
greybus: remove __init from .h files
__init does not belong in a .h file, as it does not do anything there, so remove all instances of it. Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
parent
0ffacf3b8a
commit
3d0421e0ab
@ -49,7 +49,7 @@ struct gb_endo {
|
||||
/* Greybus "private" definitions */
|
||||
struct greybus_host_device;
|
||||
|
||||
int gb_endo_init(void) __init;
|
||||
int gb_endo_init(void);
|
||||
void gb_endo_exit(void);
|
||||
|
||||
struct gb_endo *gb_endo_create(struct greybus_host_device *hd,
|
||||
|
@ -154,9 +154,9 @@ void greybus_deregister_driver(struct greybus_driver *driver);
|
||||
int greybus_disabled(void);
|
||||
|
||||
int greybus_svc_in(struct greybus_host_device *hd, u8 *data, int length);
|
||||
int gb_ap_init(void) __init;
|
||||
int gb_ap_init(void);
|
||||
void gb_ap_exit(void);
|
||||
void gb_debugfs_init(void) __init;
|
||||
void gb_debugfs_init(void);
|
||||
void gb_debugfs_cleanup(void);
|
||||
struct dentry *gb_debugfs_get(void);
|
||||
|
||||
|
@ -158,7 +158,7 @@ int gb_operation_sync(struct gb_connection *connection, int type,
|
||||
void *request, int request_size,
|
||||
void *response, int response_size);
|
||||
|
||||
int gb_operation_init(void) __init;
|
||||
int gb_operation_init(void);
|
||||
void gb_operation_exit(void);
|
||||
|
||||
#endif /* !__OPERATION_H */
|
||||
|
Loading…
Reference in New Issue
Block a user