sysreset: Mark driver probe functions as static
These driver probe functions are not (and should not be) called from outside the respective driver source files. Therefore, the functions should be marked static. Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Signed-off-by: Samuel Holland <samuel@sholland.org> Reviewed-by: Stefan Roese <sr@denx.de>
This commit is contained in:
committed by
Stefan Roese
parent
6b84217227
commit
30ba45dbd6
@@ -26,7 +26,7 @@ static struct sysreset_ops resetctl_reboot_ops = {
|
||||
.request = resetctl_reboot_request,
|
||||
};
|
||||
|
||||
int resetctl_reboot_probe(struct udevice *dev)
|
||||
static int resetctl_reboot_probe(struct udevice *dev)
|
||||
{
|
||||
struct resetctl_reboot_priv *priv = dev_get_priv(dev);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user