From: Nicholas Bellinger Date: Fri, 28 Nov 2014 03:49:36 +0000 (-0800) Subject: target: Add DEF_TB_DEFAULT_ATTRIBS macro for virtual device attrs X-Git-Tag: omap-for-v3.20/drop-legacy-3517~16^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6c39f703a878b8d9427ca7b4dc8f97874d12ae6;p=pandora-kernel.git target: Add DEF_TB_DEFAULT_ATTRIBS macro for virtual device attrs This helper macro adds the default set of 30 device attributes for virtual devices from existing target_core_configfs.c code, and moves the definitions into a single macro to create the structs necessary for backend drivers. It allows them to populate their own external struct configfs_attribute for se_subsystem_api->tb_cits.tb_dev_attrib_cit.ct_attrs. Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed