diff options
author | Robert Marklund <robert.marklund@stericsson.com> | 2011-03-21 17:00:41 +0100 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@stericsson.com> | 2011-09-19 15:14:34 +0200 |
commit | 0b3b22c918579879cbecdae35ab6f6e150316963 (patch) | |
tree | f6e1b3bd5f0725680b093d017deaeaeb3f738a14 /drivers/misc/hwmem/cache_handler.c | |
parent | d10f211d41b0feed7b8eb0ee0ed3f01c043002b8 (diff) |
smsc911x: use shifted register access
At least one of the boards using this chip needs a shift in
register access. This adds a "shift" field in the platform data
to have the chip working in all cases without special ifdef.
The approach is similaro to the one used in serial_8250 and other
places. Performance-wise no difference is reported.
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
Signed-off-by: Robert Marklund <robert.marklund@stericsson.com>
Diffstat (limited to 'drivers/misc/hwmem/cache_handler.c')
0 files changed, 0 insertions, 0 deletions