From: Mauro Carvalho Chehab Date: Thu, 8 Apr 2010 04:02:49 +0000 (-0300) Subject: V4L/DVB: ir-core: properly present the supported and current protocols X-Git-Tag: v2.6.35-rc1~480^2~223 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b320f80a6a02bbf31f7ed6ab3332f7c4ebaaac2c;p=pandora-kernel.git V4L/DVB: ir-core: properly present the supported and current protocols Hardware decoders have a more limited set of decoders than software ones. In general, they support just one protocol at a given time, but allow changing between a few options. Rename the previous badly named "current_protocol" as just "protocol", meaning the current protocol(s) accepted by the driver, and add a "support_protocols" to represent the entire universe of supported protocols by that specific hardware. As commented on http://lwn.net/Articles/378884/, the "one file, one value" rule doesn't fit nor does make much sense for bitmap or enum values. So, the supported_protocols will enum all supported protocols, and the protocol will present all active protocols. Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed