From: Lars-Peter Clausen Date: Wed, 13 Mar 2013 18:26:05 +0000 (+0100) Subject: mmc: sdhci: Constify sdhci_ops structs where possible X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~41^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c915568d99f12898aea4e15845cf891a8b5cc575;p=pandora-kernel.git mmc: sdhci: Constify sdhci_ops structs where possible Basically all drivers can have sdhci_ops struct const, but almost none do. This patch constifies all sdhci_ops struct declarations where possible. The patch was auto-generated with the following coccinelle semantic patch: // @r1@ identifier ops; identifier fld; @@ ops.fld = ...; @disable optional_qualifier@ identifier ops != r1.ops; @@ static +const struct sdhci_ops ops = { ... }; // Signed-off-by: Lars-Peter Clausen Acked-by: Shawn Guo Signed-off-by: Chris Ball --- Reading git-diff-tree failed