Commit ab71f5d7 authored by Christian Lütke-Stetzkamp's avatar Christian Lütke-Stetzkamp Committed by Greg Kroah-Hartman

staging: mt7621-mmc: Remove unused field data_offset from msdc_hw

The data_offset field in msdc_hw is never used, so remove it.
Signed-off-by: default avatarChristian Lütke-Stetzkamp <christian@lkamp.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d1eade67
...@@ -60,7 +60,6 @@ struct msdc_hw { ...@@ -60,7 +60,6 @@ struct msdc_hw {
unsigned char cmd_drv; /* command pad driving */ unsigned char cmd_drv; /* command pad driving */
unsigned char dat_drv; /* data pad driving */ unsigned char dat_drv; /* data pad driving */
unsigned long flags; /* hardware capability flags */ unsigned long flags; /* hardware capability flags */
unsigned long data_offset; /* data address offset */
/* config gpio pull mode */ /* config gpio pull mode */
void (*config_gpio_pin)(int type, int pull); void (*config_gpio_pin)(int type, int pull);
......
...@@ -182,7 +182,6 @@ struct msdc_hw msdc0_hw = { ...@@ -182,7 +182,6 @@ struct msdc_hw msdc0_hw = {
.clk_drv = 4, .clk_drv = 4,
.cmd_drv = 4, .cmd_drv = 4,
.dat_drv = 4, .dat_drv = 4,
.data_offset = 0,
.flags = MSDC_CD_PIN_EN | MSDC_REMOVABLE, .flags = MSDC_CD_PIN_EN | MSDC_REMOVABLE,
// .flags = MSDC_WP_PIN_EN | MSDC_CD_PIN_EN | MSDC_REMOVABLE, // .flags = MSDC_WP_PIN_EN | MSDC_CD_PIN_EN | MSDC_REMOVABLE,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment