Commit 9b0b02a0 authored by Alessandro Rubini's avatar Alessandro Rubini

fd-core: use the proper string for identification

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 0e68aadb
...@@ -283,12 +283,21 @@ int fd_remove(struct fmc_device *fmc) ...@@ -283,12 +283,21 @@ int fd_remove(struct fmc_device *fmc)
return 0; return 0;
} }
static struct fmc_fru_id fd_fru_id[] = {
{
.product_name = "FmcDelay1ns4cha",
},
};
static struct fmc_driver fd_drv = { static struct fmc_driver fd_drv = {
.version = FMC_VERSION, .version = FMC_VERSION,
.driver.name = KBUILD_MODNAME, .driver.name = KBUILD_MODNAME,
.probe = fd_probe, .probe = fd_probe,
.remove = fd_remove, .remove = fd_remove,
/* no table, as the current match just matches everything */ .id_table = {
.fru_id = fd_fru_id,
.fru_id_nr = ARRAY_SIZE(fd_fru_id),
},
}; };
static int fd_init(void) static int fd_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