summaryrefslogtreecommitdiffstats
path: root/drivers/misc/mei/mei_dev.h
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2015-07-23 14:08:46 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-08-04 02:24:16 +0200
commitb39910c2e0ac7c3d0e2f1999b04308c771b1d8fc (patch)
tree0b37ee4ee123a0f7d223750be079d5c87e3efde8 /drivers/misc/mei/mei_dev.h
parentmei: bus: blacklist clients by number of connections (diff)
downloadlinux-b39910c2e0ac7c3d0e2f1999b04308c771b1d8fc.tar.xz
linux-b39910c2e0ac7c3d0e2f1999b04308c771b1d8fc.zip
mei: bus: simplify how we build nfc bus name
Remove the dependency on struct ndev from the nfc device name creation function so it is possible to use it in a fixup routine Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mei/mei_dev.h')
-rw-r--r--drivers/misc/mei/mei_dev.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/mei/mei_dev.h b/drivers/misc/mei/mei_dev.h
index ad59ab776f2d..7098dcaccc96 100644
--- a/drivers/misc/mei/mei_dev.h
+++ b/drivers/misc/mei/mei_dev.h
@@ -333,7 +333,7 @@ struct mei_hw_ops {
struct mei_cl_device *mei_cl_add_device(struct mei_device *bus,
struct mei_me_client *me_cl,
struct mei_cl *cl,
- char *name);
+ const char *name);
void mei_cl_remove_device(struct mei_cl_device *cldev);
void mei_cl_dev_fixup(struct mei_cl_device *dev);
ssize_t __mei_cl_send(struct mei_cl *cl, u8 *buf, size_t length,