Commit e6953518 authored by Federico Vaga's avatar Federico Vaga

kernel:[vmebus] use an id_table for bus matching

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent b8262236
......@@ -881,12 +881,19 @@ failed:
return error;
}
static const struct vme_device_id svec_id_table[] = {
{0x00080030, 0x00000198, 0x00000001},
{0, 0, 0},
};
static struct vme_driver svec_driver = {
.probe = svec_probe,
.remove = svec_remove,
.driver = {
.name = KBUILD_MODNAME,
},
.id_table = svec_id_table,
};
......
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