Merge tag 'staging-4.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh...
[linux-2.6-block.git] / include / linux / iio / iio.h
index f12a61be1ede9de046acd24d5407b34d156f1051..11579fd4126ef4251a69be5b47450660db449734 100644 (file)
@@ -578,8 +578,8 @@ const struct iio_chan_spec
  * iio_device_register() - register a device with the IIO subsystem
  * @indio_dev:         Device structure filled by the device driver
  **/
-#define iio_device_register(iio_dev) \
-       __iio_device_register((iio_dev), THIS_MODULE)
+#define iio_device_register(indio_dev) \
+       __iio_device_register((indio_dev), THIS_MODULE)
 int __iio_device_register(struct iio_dev *indio_dev, struct module *this_mod);
 void iio_device_unregister(struct iio_dev *indio_dev);
 /**