]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
staging: fsl-mc: dpmng: drop unused prototype
authorLaurentiu Tudor <laurentiu.tudor@nxp.com>
Tue, 7 Feb 2017 15:43:50 +0000 (09:43 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Feb 2017 12:26:01 +0000 (13:26 +0100)
The implementation was removed in commit:

decd3d0cf (staging: fsl-mc: uprev binary interface to match MC v10.x)

but the prototype was left behind.

Also fix a message that was wrongly mentioning it.

Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Acked-by: Stuart Yoder <stuart.yoder@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-mc/bus/fsl-mc-bus.c
drivers/staging/fsl-mc/include/dpmng.h

index e607e9868f05ceb7f76c4b806136eb38d7a34f68..47acb0a298422a8f4c6a35881a54fe882a22fc50 100644 (file)
@@ -752,7 +752,7 @@ static int fsl_mc_bus_probe(struct platform_device *pdev)
        error = dprc_get_container_id(mc_io, 0, &container_id);
        if (error < 0) {
                dev_err(&pdev->dev,
-                       "dpmng_get_container_id() failed: %d\n", error);
+                       "dprc_get_container_id() failed: %d\n", error);
                goto error_cleanup_mc_io;
        }
 
index 7d8e255da578ae5286550f89430d004d3cf715a6..170c07dd376af77dedc63eedb4fcd75e8c64112e 100644 (file)
@@ -64,8 +64,4 @@ int mc_get_version(struct fsl_mc_io *mc_io,
                   u32 cmd_flags,
                   struct mc_version *mc_ver_info);
 
-int dpmng_get_container_id(struct fsl_mc_io *mc_io,
-                          u32 cmd_flags,
-                          int *container_id);
-
 #endif /* __FSL_DPMNG_H */