]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/rio/rio_linux.c
Pull esi-support into release branch
[linux-2.6-omap-h63xx.git] / drivers / char / rio / rio_linux.c
index 5332d1d4b0e4774c0657123c60462af9fc4fb09d..3fa80aaf452751b24397192406ee944f7f3e04bc 100644 (file)
@@ -243,7 +243,7 @@ static struct real_driver rio_real_driver = {
  *
  */
 
-static struct file_operations rio_fw_fops = {
+static const struct file_operations rio_fw_fops = {
        .owner = THIS_MODULE,
        .ioctl = rio_fw_ioctl,
 };
@@ -1119,7 +1119,7 @@ static int __init rio_init(void)
        for (i = 0; i < p->RIONumHosts; i++) {
                hp = &p->RIOHosts[i];
                if (hp->Ivec) {
-                       int mode = SA_SHIRQ;
+                       int mode = IRQF_SHARED;
                        if (hp->Ivec & 0x8000) {
                                mode = 0;
                                hp->Ivec &= 0x7fff;