diff options
author | Marc Kleine-Budde | 2011-03-24 03:34:33 +0100 |
---|---|---|
committer | David S. Miller | 2011-03-28 08:35:01 +0200 |
commit | b0052b088cf0cb688b4630c1d520c57276da71a5 (patch) | |
tree | f187913764c4b2e7724d3cc118af52f58de183c6 /firmware/ti_5052.fw.ihex | |
parent | can: c_can: disable one shot mode until driver is fixed (diff) | |
download | kernel-qcow2-linux-b0052b088cf0cb688b4630c1d520c57276da71a5.tar.gz kernel-qcow2-linux-b0052b088cf0cb688b4630c1d520c57276da71a5.tar.xz kernel-qcow2-linux-b0052b088cf0cb688b4630c1d520c57276da71a5.zip |
can: c_can_platform: fix irq check in probe
This patch fixes the check in the probe function whether a IRQ was supplied
to the driver. The original driver check the irq "struct resource *" against
<= 0. Use "platform_get_irq" instead.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Cc: Bhupesh Sharma <bhupesh.sharma@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'firmware/ti_5052.fw.ihex')
0 files changed, 0 insertions, 0 deletions