Loading drivers/soc/qcom/subsystem_restart.c +2 −1 Original line number Diff line number Diff line Loading @@ -793,7 +793,7 @@ static int __find_subsys_device(struct device *dev, const void *data) return !strcmp(subsys->desc->name, data); } static struct subsys_device *find_subsys_device(const char *str) struct subsys_device *find_subsys_device(const char *str) { struct device *dev; Loading @@ -804,6 +804,7 @@ static struct subsys_device *find_subsys_device(const char *str) __find_subsys_device); return dev ? to_subsys(dev) : NULL; } EXPORT_SYMBOL(find_subsys_device); static int subsys_start(struct subsys_device *subsys) { Loading include/soc/qcom/subsystem_restart.h +1 −0 Original line number Diff line number Diff line Loading @@ -169,6 +169,7 @@ static inline void complete_shutdown_ack(struct subsys_desc *desc) { complete(&desc->shutdown_ack); } struct subsys_device *find_subsys_device(const char *str); #else static inline int subsystem_restart_dev(struct subsys_device *dev) Loading Loading
drivers/soc/qcom/subsystem_restart.c +2 −1 Original line number Diff line number Diff line Loading @@ -793,7 +793,7 @@ static int __find_subsys_device(struct device *dev, const void *data) return !strcmp(subsys->desc->name, data); } static struct subsys_device *find_subsys_device(const char *str) struct subsys_device *find_subsys_device(const char *str) { struct device *dev; Loading @@ -804,6 +804,7 @@ static struct subsys_device *find_subsys_device(const char *str) __find_subsys_device); return dev ? to_subsys(dev) : NULL; } EXPORT_SYMBOL(find_subsys_device); static int subsys_start(struct subsys_device *subsys) { Loading
include/soc/qcom/subsystem_restart.h +1 −0 Original line number Diff line number Diff line Loading @@ -169,6 +169,7 @@ static inline void complete_shutdown_ack(struct subsys_desc *desc) { complete(&desc->shutdown_ack); } struct subsys_device *find_subsys_device(const char *str); #else static inline int subsystem_restart_dev(struct subsys_device *dev) Loading