X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=blobdiff_plain;f=include%2Flinux%2Fdevice.h;h=a31c5d0b89a411baca61e6ce1b47deb43d60778d;hp=3136ede5a1e1bb8434a0e2d52840f84de39647de;hb=19277917a0db893344f247d2ed4ac920c874f0d6;hpb=e7ab5f1c323e137120561daeec75e91a1bd9ec8b diff --git a/include/linux/device.h b/include/linux/device.h index 3136ede5a1e1..a31c5d0b89a4 100644 --- a/include/linux/device.h +++ b/include/linux/device.h @@ -767,6 +767,11 @@ extern __printf(5, 6) struct device *device_create(struct class *cls, struct device *parent, dev_t devt, void *drvdata, const char *fmt, ...); +extern __printf(6, 7) +struct device *device_create_with_groups(struct class *cls, + struct device *parent, dev_t devt, void *drvdata, + const struct attribute_group **groups, + const char *fmt, ...); extern void device_destroy(struct class *cls, dev_t devt); /*