From: Johannes Berg Date: Tue, 10 Apr 2012 21:10:28 +0000 (-0700) Subject: iwlwifi: dynamically determine lib_ops X-Git-Tag: v3.5-rc1~109^2~410^2~80 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e96766958c914f1240317c967bb322cd3731fb17;p=pandora-kernel.git iwlwifi: dynamically determine lib_ops Having the pointer to lib_ops in the config makes it impossible to split the driver into different modules. Determine the ops based on the device family enumeration to get rid of the direct pointer. Also move all the opmode specific code from the iwl-[1256]000.c files into a new file iwl-agn-devices.c so that the former only have configuration data now. Signed-off-by: Johannes Berg Signed-off-by: Wey-Yi Guy Signed-off-by: John W. Linville --- Reading git-diff-tree failed