Commit c7408823 authored by federico.vaga@cern.ch's avatar federico.vaga@cern.ch

drivers: fix zio minimum version usage

Signed-off-by: 's avatarfederico.vaga@cern.ch <federico.vaga@gmail.com>
parent db2a54ca
...@@ -334,9 +334,7 @@ static struct zio_driver ad788x_zdrv = { ...@@ -334,9 +334,7 @@ static struct zio_driver ad788x_zdrv = {
.probe = ad788x_zio_probe, .probe = ad788x_zio_probe,
/* All drivers compiled within the ZIO projects are compatibile /* All drivers compiled within the ZIO projects are compatibile
with the last version */ with the last version */
.min_version = ZIO_VERSION(__ZIO_MAJOR_VERSION, .min_version = ZIO_VERSION(1, 1, 0),
__ZIO_MINOR_VERSION,
__ZIO_PATCH_VERSION),
}; };
static int ad788x_spi_probe(struct spi_device *spi) static int ad788x_spi_probe(struct spi_device *spi)
......
...@@ -113,9 +113,7 @@ static struct zio_driver zdtc_zdrv = { ...@@ -113,9 +113,7 @@ static struct zio_driver zdtc_zdrv = {
.probe = zdtc_probe, .probe = zdtc_probe,
/* All drivers compiled within the ZIO projects are compatibile /* All drivers compiled within the ZIO projects are compatibile
with the last version */ with the last version */
.min_version = ZIO_VERSION(__ZIO_MAJOR_VERSION, .min_version = ZIO_VERSION(1, 1, 0),
__ZIO_MINOR_VERSION,
__ZIO_PATCH_VERSION),
}; };
/* Lazily, use a single global device */ /* Lazily, use a single global device */
......
...@@ -122,11 +122,7 @@ static struct zio_driver zpg_zdrv = { ...@@ -122,11 +122,7 @@ static struct zio_driver zpg_zdrv = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
.id_table = zzero_table, .id_table = zzero_table,
/* All drivers compiled within the ZIO projects are compatibile .min_version = ZIO_VERSION(1, 1, 0),
with the last version */
.min_version = ZIO_VERSION(__ZIO_MAJOR_VERSION,
__ZIO_MINOR_VERSION,
__ZIO_PATCH_VERSION),
}; };
static int __init zgp_init(void) static int __init zgp_init(void)
......
...@@ -174,9 +174,7 @@ static struct zio_driver ztdc_zdrv = { ...@@ -174,9 +174,7 @@ static struct zio_driver ztdc_zdrv = {
.probe = ztdc_probe, .probe = ztdc_probe,
/* All drivers compiled within the ZIO projects are compatibile /* All drivers compiled within the ZIO projects are compatibile
with the last version */ with the last version */
.min_version = ZIO_VERSION(__ZIO_MAJOR_VERSION, .min_version = ZIO_VERSION(1, 1, 0),
__ZIO_MINOR_VERSION,
__ZIO_PATCH_VERSION),
}; };
/* Lazily, use a single global device */ /* Lazily, use a single global device */
......
...@@ -276,9 +276,7 @@ static struct zio_driver zloop_zdrv = { ...@@ -276,9 +276,7 @@ static struct zio_driver zloop_zdrv = {
.probe = zloop_probe, .probe = zloop_probe,
/* All drivers compiled within the ZIO projects are compatibile /* All drivers compiled within the ZIO projects are compatibile
with the last version */ with the last version */
.min_version = ZIO_VERSION(__ZIO_MAJOR_VERSION, .min_version = ZIO_VERSION(1, 1, 0),
__ZIO_MINOR_VERSION,
__ZIO_PATCH_VERSION),
}; };
/* /*
......
...@@ -70,9 +70,7 @@ static struct zio_driver zmini_zdrv = { ...@@ -70,9 +70,7 @@ static struct zio_driver zmini_zdrv = {
.id_table = zmini_table, .id_table = zmini_table,
/* All drivers compiled within the ZIO projects are compatibile /* All drivers compiled within the ZIO projects are compatibile
with the last version */ with the last version */
.min_version = ZIO_VERSION(__ZIO_MAJOR_VERSION, .min_version = ZIO_VERSION(1, 1, 0),
__ZIO_MINOR_VERSION,
__ZIO_PATCH_VERSION),
}; };
/* The device is registered in the bus: we can have several */ /* The device is registered in the bus: we can have several */
......
...@@ -401,9 +401,7 @@ static struct zio_driver zvmk80xx_zdrv = { ...@@ -401,9 +401,7 @@ static struct zio_driver zvmk80xx_zdrv = {
.remove = zvmk80xx_zio_remove, .remove = zvmk80xx_zio_remove,
/* All drivers compiled within the ZIO projects are compatibile /* All drivers compiled within the ZIO projects are compatibile
with the last version */ with the last version */
.min_version = ZIO_VERSION(__ZIO_MAJOR_VERSION, .min_version = ZIO_VERSION(1, 1, 0),
__ZIO_MINOR_VERSION,
__ZIO_PATCH_VERSION),
}; };
......
...@@ -210,9 +210,7 @@ static struct zio_driver zzero_zdrv = { ...@@ -210,9 +210,7 @@ static struct zio_driver zzero_zdrv = {
.id_table = zzero_table, .id_table = zzero_table,
/* All drivers compiled within the ZIO projects are compatibile /* All drivers compiled within the ZIO projects are compatibile
with the last version */ with the last version */
.min_version = ZIO_VERSION(__ZIO_MAJOR_VERSION, .min_version = ZIO_VERSION(1, 1, 0),
__ZIO_MINOR_VERSION,
__ZIO_PATCH_VERSION),
}; };
static int __init zzero_init(void) static int __init zzero_init(void)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment