They are both set to none and will result in no id being added to the
device.
This is a backport of:
commit
689ae231afbac8979f96100b372a5a73458baaa9
Author: Jean Delvare <khali@linux-fr.org>
Date: Fri Jul 27 22:14:59 2012 +0200
platform: Add support for automatic device IDs
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
return tmp;
}
+#define PLATFORM_DEVID_NONE (-1)
+#define PLATFORM_DEVID_AUTO (-1)
+
#else /* (LINUX_VERSION_CODE > KERNEL_VERSION(3,7,0)) */
#define netlink_notify_portid(__notify) (__notify->portid)
#define genl_info_snd_portid(__genl_info) (__genl_info->snd_portid)