X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Ftps6586x.h;h=785eb39229d0b3b4a66f4c7457faa7a45606e619;hb=29d280c88a1ff331dce2d4c7a5aaf2402aa0fd8a;hp=78ce428767671c43c827828b455b70b969f38ec0;hpb=22692ec0fbdb455ca16d4d0e27768c6b6deb4243;p=platform%2Fkernel%2Fu-boot.git diff --git a/include/tps6586x.h b/include/tps6586x.h index 78ce428..785eb39 100644 --- a/include/tps6586x.h +++ b/include/tps6586x.h @@ -1,8 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Copyright 2010,2011 * NVIDIA Corporation - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _TPS6586X_H_ @@ -44,9 +43,9 @@ int tps6586x_adjust_sm0_sm1(int sm0_target, int sm1_target, int step, int rate, * Set up the TPS6586X I2C bus number. This will be used for all operations * on the device. This function must be called before using other functions. * - * @param bus I2C bus number containing the TPS6586X chip + * @param bus I2C bus containing the TPS6586X chip * @return 0 (always succeeds) */ -int tps6586x_init(int bus); +int tps6586x_init(struct udevice *bus); #endif /* _TPS6586X_H_ */