X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Ftps6586x.h;h=785eb39229d0b3b4a66f4c7457faa7a45606e619;hb=f643fb9f4c8fc5c5dceb8c2c2893447d18413d77;hp=10ca103895de804d0ed29c3af5800517eda32186;hpb=3be2bdf5dc69b3142c1162a59bc67191c9077567;p=platform%2Fkernel%2Fu-boot.git diff --git a/include/tps6586x.h b/include/tps6586x.h index 10ca103..785eb39 100644 --- a/include/tps6586x.h +++ b/include/tps6586x.h @@ -1,11 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Copyright 2010,2011 * NVIDIA Corporation - * - * SPDX-License-Identifier: GPL-2.0+ */ -#ifndef __H_ +#ifndef _TPS6586X_H_ #define _TPS6586X_H_ enum { @@ -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_ */