Commit ff5f6e47 authored by Marcel Holtmann's avatar Marcel Holtmann Committed by Marcel Holtmann

[Bluetooth] Add the needed call of init_timer()

This patch adds the missing init_timer() call for the PCMCIA
release function.
parent b718c202
......@@ -849,6 +849,7 @@ dev_link_t *bluecard_attach(void)
link = &info->link;
link->priv = info;
init_timer(&link->release);
link->release.function = &bluecard_release;
link->release.data = (u_long)link;
link->io.Attributes1 = IO_DATA_PATH_WIDTH_8;
......
......@@ -643,6 +643,7 @@ dev_link_t *bt3c_attach(void)
link = &info->link;
link->priv = info;
init_timer(&link->release);
link->release.function = &bt3c_release;
link->release.data = (u_long)link;
link->io.Attributes1 = IO_DATA_PATH_WIDTH_8;
......
......@@ -603,6 +603,7 @@ dev_link_t *btuart_attach(void)
link = &info->link;
link->priv = info;
init_timer(&link->release);
link->release.function = &btuart_release;
link->release.data = (u_long)link;
link->io.Attributes1 = IO_DATA_PATH_WIDTH_8;
......
......@@ -582,6 +582,7 @@ dev_link_t *dtl1_attach(void)
link = &info->link;
link->priv = info;
init_timer(&link->release);
link->release.function = &dtl1_release;
link->release.data = (u_long)link;
link->io.Attributes1 = IO_DATA_PATH_WIDTH_8;
......
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