projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
iio: sw-device: Fix config group initialization
[linux-2.6-block.git]
/
include
/
linux
/
iio
/
sw_device.h
diff --git
a/include/linux/iio/sw_device.h
b/include/linux/iio/sw_device.h
index 23ca41515527965239a56e92b909d53e75055cd4..fa7931933067982b2bac57f4c73aac039db8f692 100644
(file)
--- a/
include/linux/iio/sw_device.h
+++ b/
include/linux/iio/sw_device.h
@@
-62,7
+62,7
@@
void iio_swd_group_init_type_name(struct iio_sw_device *d,
const char *name,
struct config_item_type *type)
{
-#if
def CONFIG_CONFIGFS_FS
+#if
IS_ENABLED(CONFIG_CONFIGFS_FS)
config_group_init_type_name(&d->group, name, type);
#endif
}