From: Magnus Damm Date: Thu, 16 Oct 2008 05:05:15 +0000 (-0700) Subject: resource: add resource_type() and IORESOURCE_TYPE_BITS X-Git-Tag: v2.6.28-rc1~298 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9f66169f1c696f9489503d7de92daff135c1efd;p=pandora-kernel.git resource: add resource_type() and IORESOURCE_TYPE_BITS Add resource_type() and IORESOURCE_TYPE_BITS. They make it easier to add more resource types without having to rewrite tons of code. Signed-off-by: Magnus Damm Cc: Ben Dooks Cc: Jean Delvare Cc: Paul Mundt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed