backports: add cast in class_find_device()
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 15 Jun 2013 15:26:53 +0000 (17:26 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Wed, 19 Jun 2013 20:22:28 +0000 (22:22 +0200)
commit5ad9b269c57d77e14d95f493c97c89f79231770c
tree46a5389613dccf6f30f6d5e7beac6e63c94ec26a
parent09f1d2bb4d5d695d868d30ec36bdd4eae11224ec
backports: add cast in class_find_device()

Also type of the 3 parameter of class_find_device() changed from void *
to const void *, add a cast to prevent a warning.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
backport/backport-include/linux/device.h