diff options
author | Arnd Bergmann <arnd@arndb.de> | 2019-08-09 22:27:01 +0300 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2022-04-21 16:00:52 +0300 |
commit | 81ad0f5bc476505781b1398be52a81eda3ee9798 (patch) | |
tree | 5e54a3453a3e6953bbfbe54462c82f5824b45dcb /drivers/video/fbdev/omap/sossi.c | |
parent | 0768fb6709343679e55f7135e2ed2c432e4500d8 (diff) | |
download | linux-81ad0f5bc476505781b1398be52a81eda3ee9798.tar.xz |
fbdev: omap: pass irqs as resource
To avoid relying on the mach/irqs.h header, stop using
OMAP_LCDC_IRQ and INT_1610_SoSSI_MATCH directly in the driver
code, but instead pass these as resources.
Acked-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/video/fbdev/omap/sossi.c')
-rw-r--r-- | drivers/video/fbdev/omap/sossi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/omap/sossi.c b/drivers/video/fbdev/omap/sossi.c index d3c755b293ea..ade9d452254c 100644 --- a/drivers/video/fbdev/omap/sossi.c +++ b/drivers/video/fbdev/omap/sossi.c @@ -639,7 +639,7 @@ static int sossi_init(struct omapfb_device *fbdev) l &= ~(1 << 31); /* REORDERING */ sossi_write_reg(SOSSI_INIT1_REG, l); - if ((r = request_irq(INT_1610_SoSSI_MATCH, sossi_match_irq, + if ((r = request_irq(fbdev->ext_irq, sossi_match_irq, IRQ_TYPE_EDGE_FALLING, "sossi_match", sossi.fbdev->dev)) < 0) { dev_err(sossi.fbdev->dev, "can't get SoSSI match IRQ\n"); |