From: Nicolas Ferre Date: Fri, 5 Mar 2010 21:43:44 +0000 (-0800) Subject: mmc: at91_mci: introduce per-mci-revision conditional code X-Git-Tag: v2.6.34-rc1~75 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b27a1a566c5a4cce81d75107a0f130e43c6a5f8;p=pandora-kernel.git mmc: at91_mci: introduce per-mci-revision conditional code We used to manage features and differences on a per-cpu basis. As several cpus share the same mci revision, this patch aggregates cpus that have the same IP revision in one defined constant. We use the at91mci_is_mci1rev2xx() funtion name not to mess with newer Atmel sd/mmc IP called "MCI2". _rev2 naming could have been confusing... Signed-off-by: Nicolas Ferre Cc: Wolfgang Muees Cc: Andrew Victor Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed