mmc: refactor bus operations
Move bus operations to its own file for the sake of clarity. Also
delegate sysfs attributes to bus handlers in preparation for other
more exotic types.
Signed-off-by:
Pierre Ossman <drzeus@drzeus.cx>
Showing
- drivers/mmc/core/Makefile 2 additions, 1 deletiondrivers/mmc/core/Makefile
- drivers/mmc/core/bus.c 253 additions, 0 deletionsdrivers/mmc/core/bus.c
- drivers/mmc/core/bus.h 22 additions, 0 deletionsdrivers/mmc/core/bus.h
- drivers/mmc/core/core.c 0 additions, 16 deletionsdrivers/mmc/core/core.c
- drivers/mmc/core/core.h 2 additions, 2 deletionsdrivers/mmc/core/core.h
- drivers/mmc/core/mmc.c 53 additions, 6 deletionsdrivers/mmc/core/mmc.c
- drivers/mmc/core/sd.c 55 additions, 8 deletionsdrivers/mmc/core/sd.c
- drivers/mmc/core/sysfs.c 20 additions, 208 deletionsdrivers/mmc/core/sysfs.c
- drivers/mmc/core/sysfs.h 11 additions, 3 deletionsdrivers/mmc/core/sysfs.h
Loading
Please register or sign in to comment