X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fmisc.h;h=6f042625c9fcba545b932af233e6ca13a67853ed;hb=d2e5250be49fce4653689c41a5dc7e2d7e7ecf33;hp=82ec2ce79368b8bcea2ff719d1a5052fdfd41e4f;hpb=2ae80437fbe0181184ae4b188b89629b902702c6;p=platform%2Fkernel%2Fu-boot.git diff --git a/include/misc.h b/include/misc.h index 82ec2ce..6f04262 100644 --- a/include/misc.h +++ b/include/misc.h @@ -28,7 +28,7 @@ int misc_read(struct udevice *dev, int offset, void *buf, int size); * * Return: number of bytes written if OK (may be < @size), -ve on error */ -int misc_write(struct udevice *dev, int offset, void *buf, int size); +int misc_write(struct udevice *dev, int offset, const void *buf, int size); /** * misc_ioctl() - Assert command to the device, optional.