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 = {
.probe = ad788x_zio_probe,
/* All drivers compiled within the ZIO projects are compatibile
with the last version */
.min_version = ZIO_VERSION(__ZIO_MAJOR_VERSION,
__ZIO_MINOR_VERSION,
__ZIO_PATCH_VERSION),
.min_version = ZIO_VERSION(1, 1, 0),
};
static int ad788x_spi_probe(struct spi_device *spi)
......
......@@ -113,9 +113,7 @@ static struct zio_driver zdtc_zdrv = {
.probe = zdtc_probe,
/* All drivers compiled within the ZIO projects are compatibile
with the last version */
.min_version = ZIO_VERSION(__ZIO_MAJOR_VERSION,
__ZIO_MINOR_VERSION,
__ZIO_PATCH_VERSION),
.min_version = ZIO_VERSION(1, 1, 0),
};
/* Lazily, use a single global device */
......
......@@ -122,11 +122,7 @@ static struct zio_driver zpg_zdrv = {
.owner = THIS_MODULE,
},
.id_table = zzero_table,
/* All drivers compiled within the ZIO projects are compatibile
with the last version */
.min_version = ZIO_VERSION(__ZIO_MAJOR_VERSION,
__ZIO_MINOR_VERSION,
__ZIO_PATCH_VERSION),
.min_version = ZIO_VERSION(1, 1, 0),
};
static int __init zgp_init(void)
......
......@@ -174,9 +174,7 @@ static struct zio_driver ztdc_zdrv = {
.probe = ztdc_probe,
/* All drivers compiled within the ZIO projects are compatibile
with the last version */
.min_version = ZIO_VERSION(__ZIO_MAJOR_VERSION,
__ZIO_MINOR_VERSION,
__ZIO_PATCH_VERSION),
.min_version = ZIO_VERSION(1, 1, 0),
};
/* Lazily, use a single global device */
......
......@@ -276,9 +276,7 @@ static struct zio_driver zloop_zdrv = {
.probe = zloop_probe,
/* All drivers compiled within the ZIO projects are compatibile
with the last version */
.min_version = ZIO_VERSION(__ZIO_MAJOR_VERSION,
__ZIO_MINOR_VERSION,
__ZIO_PATCH_VERSION),
.min_version = ZIO_VERSION(1, 1, 0),
};
/*
......
......@@ -70,9 +70,7 @@ static struct zio_driver zmini_zdrv = {
.id_table = zmini_table,
/* All drivers compiled within the ZIO projects are compatibile
with the last version */
.min_version = ZIO_VERSION(__ZIO_MAJOR_VERSION,
__ZIO_MINOR_VERSION,
__ZIO_PATCH_VERSION),
.min_version = ZIO_VERSION(1, 1, 0),
};
/* The device is registered in the bus: we can have several */
......
......@@ -401,9 +401,7 @@ static struct zio_driver zvmk80xx_zdrv = {
.remove = zvmk80xx_zio_remove,
/* All drivers compiled within the ZIO projects are compatibile
with the last version */
.min_version = ZIO_VERSION(__ZIO_MAJOR_VERSION,
__ZIO_MINOR_VERSION,
__ZIO_PATCH_VERSION),
.min_version = ZIO_VERSION(1, 1, 0),
};
......
......@@ -210,9 +210,7 @@ static struct zio_driver zzero_zdrv = {
.id_table = zzero_table,
/* All drivers compiled within the ZIO projects are compatibile
with the last version */
.min_version = ZIO_VERSION(__ZIO_MAJOR_VERSION,
__ZIO_MINOR_VERSION,
__ZIO_PATCH_VERSION),
.min_version = ZIO_VERSION(1, 1, 0),
};
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