diff options
-rw-r--r-- | io-module/mts-io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io-module/mts-io.c b/io-module/mts-io.c index 6fd2eae..fc4df20 100644 --- a/io-module/mts-io.c +++ b/io-module/mts-io.c @@ -148,7 +148,7 @@ static int mts_io_remove(struct platform_device *pdev) struct mts_io_drvdata *mts_io_dd = platform_get_drvdata(pdev); const char *symlink_name = kobject_name(&pdev->dev.kobj); if (mts_io_dd && mts_io_dd->f_platform_bus_symlink) { - dev_info(pdev->dev,"Removing %s symlink from platform_bus", symlink_name); + dev_info(&pdev->dev,"Removing %s symlink from platform_bus", symlink_name); sysfs_remove_link(&platform_bus.kobj, symlink_name); } #endif // PLATFORM_BUS_SYMLINK |