提交 10022a06 编写于 作者: A Andreas Bombe 提交者: Greg Kroah-Hartman

staging: comedi das08_cs.c: Fix io_req_t conversion

Commit 90abdc3b converted all PCMCIA users away from io_req_t. In
das08_cs.c the converted IO lines mask setting was added but the old
line using the now inexistent p_dev->io was not removed.
Signed-off-by: NAndreas Bombe <aeb@debian.org>
Signed-off-by: NDominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 f8d261d3
...@@ -222,7 +222,6 @@ static int das08_pcmcia_config_loop(struct pcmcia_device *p_dev, ...@@ -222,7 +222,6 @@ static int das08_pcmcia_config_loop(struct pcmcia_device *p_dev,
p_dev->resource[0]->flags &= ~IO_DATA_PATH_WIDTH; p_dev->resource[0]->flags &= ~IO_DATA_PATH_WIDTH;
p_dev->resource[0]->flags |= p_dev->resource[0]->flags |=
pcmcia_io_cfg_data_width(io->flags); pcmcia_io_cfg_data_width(io->flags);
p_dev->io.IOAddrLines = io->flags & CISTPL_IO_LINES_MASK;
p_dev->resource[0]->start = io->win[0].base; p_dev->resource[0]->start = io->win[0].base;
p_dev->resource[0]->end = io->win[0].len; p_dev->resource[0]->end = io->win[0].len;
if (io->nwin > 1) { if (io->nwin > 1) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册