@@ -175,7 +175,7 @@ static struct platform_driver omap1_mbox_driver = {
.probe = omap1_mbox_probe,
.remove = __devexit_p(omap1_mbox_remove),
.driver = {
- .name = "omap-mailbox",
+ .name = "omap_mailbox",
},
};
@@ -287,7 +287,7 @@ static inline void omap_init_mbox(void)
mb_attr = oh->dev_attr;
pdata.nr_mbox = mb_attr->nr_mbox;
- od = omap_device_build("omap-mailbox", -1, oh, &pdata, sizeof(pdata),
+ od = omap_device_build("omap_mailbox", -1, oh, &pdata, sizeof(pdata),
mbox_latencies, ARRAY_SIZE(mbox_latencies), 0);
WARN(IS_ERR(od), "%s: could not build device, err %ld\n",
__func__, PTR_ERR(od));
@@ -397,7 +397,7 @@ static struct platform_driver omap2_mbox_driver = {
.probe = omap2_mbox_probe,
.remove = __devexit_p(omap2_mbox_remove),
.driver = {
- .name = "omap-mailbox",
+ .name = "omap_mailbox",
},
};
Use "omap_XXX" as the OMAP device naming convention. Signed-off-by: Omar Ramirez Luna <omar.ramirez@ti.com> --- arch/arm/mach-omap1/mailbox.c | 2 +- arch/arm/mach-omap2/devices.c | 2 +- arch/arm/mach-omap2/mailbox.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)