1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
|
From 302745ce6f3bab7b1a97de32339405ae3fd8eacb Mon Sep 17 00:00:00 2001
From: Dmitry Baryshkov <dbaryshkov@gmail.com>
Date: Fri, 19 Oct 2007 00:05:54 +0400
Subject: [PATCH] tmio-fb-r6.patch fixes
---
drivers/video/tmiofb.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/video/tmiofb.c b/drivers/video/tmiofb.c
index 10b0105..72eb76c 100644
--- a/drivers/video/tmiofb.c
+++ b/drivers/video/tmiofb.c
@@ -463,8 +463,8 @@ static int tmiofb_vblank (struct fb_info *fbi, struct fb_vblank *vblank)
#define FBIO_TMIO_ACC_WRITE 0x7C639300
#define FBIO_TMIO_ACC_SYNC 0x7C639301
-static int tmiofb_ioctl (struct inode *inode, struct file *file,
- unsigned int cmd, unsigned long arg, struct fb_info *fbi)
+static int tmiofb_ioctl (struct fb_info *fbi,
+ unsigned int cmd, unsigned long arg)
{
switch (cmd) {
case FBIOGET_VBLANK: {
@@ -677,7 +677,7 @@ static struct fb_ops tmiofb_ops_acc = {
* 2000 0002 display start
* 2000 0004 line number match (0x1ff mask???)
*/
-static irqreturn_t tmiofb_irq (int irq, void *__fbi, struct pt_regs *r)
+static irqreturn_t tmiofb_irq (int irq, void *__fbi)
{
struct fb_info* fbi = __fbi;
struct tmiofb_par* par = fbi->par;
@@ -762,7 +762,7 @@ static int __init tmiofb_probe (struct device *dev)
}
fbi->screen_base = par->sram;
- retval = request_irq (irq->start, &tmiofb_irq, SA_INTERRUPT,
+ retval = request_irq (irq->start, &tmiofb_irq, IRQF_DISABLED,
TMIO_NAME_LCD, fbi);
if (retval)
goto err_request_irq;
--
1.4.4.4
From 302745ce6f3bab7b1a97de32339405ae3fd8eacb Mon Sep 17 00:00:00 2001
From: Dmitry Baryshkov <dbaryshkov@gmail.com>
Date: Fri, 19 Oct 2007 00:05:54 +0400
Subject: [PATCH] tmio-fb-r6.patch fixes
---
drivers/video/tmiofb.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/video/tmiofb.c b/drivers/video/tmiofb.c
index 10b0105..72eb76c 100644
--- a/drivers/video/tmiofb.c
+++ b/drivers/video/tmiofb.c
@@ -463,8 +463,8 @@ static int tmiofb_vblank (struct fb_info *fbi, struct fb_vblank *vblank)
#define FBIO_TMIO_ACC_WRITE 0x7C639300
#define FBIO_TMIO_ACC_SYNC 0x7C639301
-static int tmiofb_ioctl (struct inode *inode, struct file *file,
- unsigned int cmd, unsigned long arg, struct fb_info *fbi)
+static int tmiofb_ioctl (struct fb_info *fbi,
+ unsigned int cmd, unsigned long arg)
{
switch (cmd) {
case FBIOGET_VBLANK: {
@@ -677,7 +677,7 @@ static struct fb_ops tmiofb_ops_acc = {
* 2000 0002 display start
* 2000 0004 line number match (0x1ff mask???)
*/
-static irqreturn_t tmiofb_irq (int irq, void *__fbi, struct pt_regs *r)
+static irqreturn_t tmiofb_irq (int irq, void *__fbi)
{
struct fb_info* fbi = __fbi;
struct tmiofb_par* par = fbi->par;
@@ -762,7 +762,7 @@ static int __init tmiofb_probe (struct device *dev)
}
fbi->screen_base = par->sram;
- retval = request_irq (irq->start, &tmiofb_irq, SA_INTERRUPT,
+ retval = request_irq (irq->start, &tmiofb_irq, IRQF_DISABLED,
TMIO_NAME_LCD, fbi);
if (retval)
goto err_request_irq;
--
1.4.4.4
|