commit | 02166a01f8113c6374d6f1512befa9233c837fa0 | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Fri May 19 15:37:28 2017 +0200 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Tue Jun 20 10:30:25 2017 +0200 |
tree | f294d761be3bead8ee418e92dd950c0c4e04d1be | |
parent | 67e69d5220c904238f94bb2e6001d7c590f5a0bb [diff] |
mmc: block: Tag DRV_OPs with a driver operation type We will expand the DRV_OP usage, so we need to know which operation we're performing. Tag the operations with an enum:ed type and rename the function so it is clear that it deals with any command and put a switch statement in it. Currently only ioctls are supported. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>