diff options
| author | Lars-Peter Clausen <[email protected]> | 2013-03-13 19:26:05 +0100 |
|---|---|---|
| committer | Chris Ball <[email protected]> | 2013-03-22 13:00:51 -0400 |
| commit | c915568d99f12898aea4e15845cf891a8b5cc575 (patch) | |
| tree | d381fa42647a91ff9e42cf2aea994f280b2de19c /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | ad1df8c25ecdf0bd2632c0825ecf8e8748c8154a (diff) | |
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:
// <smpl>
@r1@
identifier ops;
identifier fld;
@@
ops.fld = ...;
@disable optional_qualifier@
identifier ops != r1.ops;
@@
static
+const
struct sdhci_ops ops = { ... };
// </smpl>
Signed-off-by: Lars-Peter Clausen <[email protected]>
Acked-by: Shawn Guo <[email protected]>
Signed-off-by: Chris Ball <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions