X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Ftps6586x.h;h=eefc95f22ea688d937b92f959cc9ef9887d6b29c;hb=2d8d190c8394b43c0989cdb04a50cb48d4e1f8da;hp=10ca103895de804d0ed29c3af5800517eda32186;hpb=8b485ba12b0defa0c4ed3559789250238f8331a8;p=platform%2Fkernel%2Fu-boot.git diff --git a/include/tps6586x.h b/include/tps6586x.h index 10ca103..eefc95f 100644 --- a/include/tps6586x.h +++ b/include/tps6586x.h @@ -5,7 +5,7 @@ * SPDX-License-Identifier: GPL-2.0+ */ -#ifndef __H_ +#ifndef _TPS6586X_H_ #define _TPS6586X_H_ enum { @@ -44,9 +44,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_ */