Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
kernel_linux
提交
cfe4fbfb
K
kernel_linux
项目概览
OpenHarmony
/
kernel_linux
上一次同步 4 年多
通知
15
Star
8
Fork
2
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
kernel_linux
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
cfe4fbfb
编写于
8月 21, 2017
作者:
H
Helge Deller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
parisc: Fix section mismatches in parisc core drivers
Signed-off-by:
N
Helge Deller
<
deller@gmx.de
>
上级
f0973443
变更
11
隐藏空白更改
内联
并排
Showing
11 changed file
with
25 addition
and
25 deletion
+25
-25
drivers/parisc/asp.c
drivers/parisc/asp.c
+2
-2
drivers/parisc/ccio-dma.c
drivers/parisc/ccio-dma.c
+2
-2
drivers/parisc/ccio-rm-dma.c
drivers/parisc/ccio-rm-dma.c
+3
-3
drivers/parisc/dino.c
drivers/parisc/dino.c
+2
-2
drivers/parisc/eisa.c
drivers/parisc/eisa.c
+2
-2
drivers/parisc/hppb.c
drivers/parisc/hppb.c
+3
-3
drivers/parisc/lasi.c
drivers/parisc/lasi.c
+2
-2
drivers/parisc/lba_pci.c
drivers/parisc/lba_pci.c
+2
-2
drivers/parisc/sba_iommu.c
drivers/parisc/sba_iommu.c
+3
-3
drivers/parisc/superio.c
drivers/parisc/superio.c
+2
-2
drivers/parisc/wax.c
drivers/parisc/wax.c
+2
-2
未找到文件。
drivers/parisc/asp.c
浏览文件 @
cfe4fbfb
...
@@ -118,12 +118,12 @@ static int __init asp_init_chip(struct parisc_device *dev)
...
@@ -118,12 +118,12 @@ static int __init asp_init_chip(struct parisc_device *dev)
return
ret
;
return
ret
;
}
}
static
struct
parisc_device_id
asp_tbl
[]
=
{
static
const
struct
parisc_device_id
asp_tbl
[]
__initconst
=
{
{
HPHW_BA
,
HVERSION_REV_ANY_ID
,
HVERSION_ANY_ID
,
0x00070
},
{
HPHW_BA
,
HVERSION_REV_ANY_ID
,
HVERSION_ANY_ID
,
0x00070
},
{
0
,
}
{
0
,
}
};
};
struct
parisc_driver
asp_driver
=
{
struct
parisc_driver
asp_driver
__refdata
=
{
.
name
=
"asp"
,
.
name
=
"asp"
,
.
id_table
=
asp_tbl
,
.
id_table
=
asp_tbl
,
.
probe
=
asp_init_chip
,
.
probe
=
asp_init_chip
,
...
...
drivers/parisc/ccio-dma.c
浏览文件 @
cfe4fbfb
...
@@ -1241,7 +1241,7 @@ ccio_get_iotlb_size(struct parisc_device *dev)
...
@@ -1241,7 +1241,7 @@ ccio_get_iotlb_size(struct parisc_device *dev)
#endif
/* 0 */
#endif
/* 0 */
/* We *can't* support JAVA (T600). Venture there at your own risk. */
/* We *can't* support JAVA (T600). Venture there at your own risk. */
static
const
struct
parisc_device_id
ccio_tbl
[]
=
{
static
const
struct
parisc_device_id
ccio_tbl
[]
__initconst
=
{
{
HPHW_IOA
,
HVERSION_REV_ANY_ID
,
U2_IOA_RUNWAY
,
0xb
},
/* U2 */
{
HPHW_IOA
,
HVERSION_REV_ANY_ID
,
U2_IOA_RUNWAY
,
0xb
},
/* U2 */
{
HPHW_IOA
,
HVERSION_REV_ANY_ID
,
UTURN_IOA_RUNWAY
,
0xb
},
/* UTurn */
{
HPHW_IOA
,
HVERSION_REV_ANY_ID
,
UTURN_IOA_RUNWAY
,
0xb
},
/* UTurn */
{
0
,
}
{
0
,
}
...
@@ -1249,7 +1249,7 @@ static const struct parisc_device_id ccio_tbl[] = {
...
@@ -1249,7 +1249,7 @@ static const struct parisc_device_id ccio_tbl[] = {
static
int
ccio_probe
(
struct
parisc_device
*
dev
);
static
int
ccio_probe
(
struct
parisc_device
*
dev
);
static
struct
parisc_driver
ccio_driver
=
{
static
struct
parisc_driver
ccio_driver
__refdata
=
{
.
name
=
"ccio"
,
.
name
=
"ccio"
,
.
id_table
=
ccio_tbl
,
.
id_table
=
ccio_tbl
,
.
probe
=
ccio_probe
,
.
probe
=
ccio_probe
,
...
...
drivers/parisc/ccio-rm-dma.c
浏览文件 @
cfe4fbfb
...
@@ -163,7 +163,7 @@ static struct pci_dma_ops ccio_ops = {
...
@@ -163,7 +163,7 @@ static struct pci_dma_ops ccio_ops = {
** If so, initialize the chip and tell other partners in crime they
** If so, initialize the chip and tell other partners in crime they
** have work to do.
** have work to do.
*/
*/
static
int
static
int
__init
ccio_probe
(
struct
parisc_device
*
dev
)
ccio_probe
(
struct
parisc_device
*
dev
)
{
{
printk
(
KERN_INFO
"%s found %s at 0x%lx
\n
"
,
MODULE_NAME
,
printk
(
KERN_INFO
"%s found %s at 0x%lx
\n
"
,
MODULE_NAME
,
...
@@ -184,13 +184,13 @@ ccio_probe(struct parisc_device *dev)
...
@@ -184,13 +184,13 @@ ccio_probe(struct parisc_device *dev)
return
0
;
return
0
;
}
}
static
struct
parisc_device_id
ccio_tbl
[]
=
{
static
const
struct
parisc_device_id
ccio_tbl
[]
__initconst
=
{
{
HPHW_BCPORT
,
HVERSION_REV_ANY_ID
,
U2_BC_GSC
,
0xc
},
{
HPHW_BCPORT
,
HVERSION_REV_ANY_ID
,
U2_BC_GSC
,
0xc
},
{
HPHW_BCPORT
,
HVERSION_REV_ANY_ID
,
UTURN_BC_GSC
,
0xc
},
{
HPHW_BCPORT
,
HVERSION_REV_ANY_ID
,
UTURN_BC_GSC
,
0xc
},
{
0
,
}
{
0
,
}
};
};
static
struct
parisc_driver
ccio_driver
=
{
static
struct
parisc_driver
ccio_driver
__refdata
=
{
.
name
=
"U2/Uturn"
,
.
name
=
"U2/Uturn"
,
.
id_table
=
ccio_tbl
,
.
id_table
=
ccio_tbl
,
.
probe
=
ccio_probe
,
.
probe
=
ccio_probe
,
...
...
drivers/parisc/dino.c
浏览文件 @
cfe4fbfb
...
@@ -1022,7 +1022,7 @@ static int __init dino_probe(struct parisc_device *dev)
...
@@ -1022,7 +1022,7 @@ static int __init dino_probe(struct parisc_device *dev)
* and 725 firmware misreport it as 0x08080 for no adequately explained
* and 725 firmware misreport it as 0x08080 for no adequately explained
* reason.
* reason.
*/
*/
static
struct
parisc_device_id
dino_tbl
[]
=
{
static
const
struct
parisc_device_id
dino_tbl
[]
__initconst
=
{
{
HPHW_A_DMA
,
HVERSION_REV_ANY_ID
,
0x004
,
0x0009D
},
/* Card-mode Dino */
{
HPHW_A_DMA
,
HVERSION_REV_ANY_ID
,
0x004
,
0x0009D
},
/* Card-mode Dino */
{
HPHW_A_DMA
,
HVERSION_REV_ANY_ID
,
HVERSION_ANY_ID
,
0x08080
},
/* XXX */
{
HPHW_A_DMA
,
HVERSION_REV_ANY_ID
,
HVERSION_ANY_ID
,
0x08080
},
/* XXX */
{
HPHW_BRIDGE
,
HVERSION_REV_ANY_ID
,
0x680
,
0xa
},
/* Bridge-mode Dino */
{
HPHW_BRIDGE
,
HVERSION_REV_ANY_ID
,
0x680
,
0xa
},
/* Bridge-mode Dino */
...
@@ -1031,7 +1031,7 @@ static struct parisc_device_id dino_tbl[] = {
...
@@ -1031,7 +1031,7 @@ static struct parisc_device_id dino_tbl[] = {
{
0
,
}
{
0
,
}
};
};
static
struct
parisc_driver
dino_driver
=
{
static
struct
parisc_driver
dino_driver
__refdata
=
{
.
name
=
"dino"
,
.
name
=
"dino"
,
.
id_table
=
dino_tbl
,
.
id_table
=
dino_tbl
,
.
probe
=
dino_probe
,
.
probe
=
dino_probe
,
...
...
drivers/parisc/eisa.c
浏览文件 @
cfe4fbfb
...
@@ -393,7 +393,7 @@ static int __init eisa_probe(struct parisc_device *dev)
...
@@ -393,7 +393,7 @@ static int __init eisa_probe(struct parisc_device *dev)
return
result
;
return
result
;
}
}
static
const
struct
parisc_device_id
eisa_tbl
[]
=
{
static
const
struct
parisc_device_id
eisa_tbl
[]
__initconst
=
{
{
HPHW_BA
,
HVERSION_REV_ANY_ID
,
HVERSION_ANY_ID
,
0x00076
},
/* Mongoose */
{
HPHW_BA
,
HVERSION_REV_ANY_ID
,
HVERSION_ANY_ID
,
0x00076
},
/* Mongoose */
{
HPHW_BA
,
HVERSION_REV_ANY_ID
,
HVERSION_ANY_ID
,
0x00090
},
/* Wax EISA */
{
HPHW_BA
,
HVERSION_REV_ANY_ID
,
HVERSION_ANY_ID
,
0x00090
},
/* Wax EISA */
{
0
,
}
{
0
,
}
...
@@ -401,7 +401,7 @@ static const struct parisc_device_id eisa_tbl[] = {
...
@@ -401,7 +401,7 @@ static const struct parisc_device_id eisa_tbl[] = {
MODULE_DEVICE_TABLE
(
parisc
,
eisa_tbl
);
MODULE_DEVICE_TABLE
(
parisc
,
eisa_tbl
);
static
struct
parisc_driver
eisa_driver
=
{
static
struct
parisc_driver
eisa_driver
__refdata
=
{
.
name
=
"eisa_ba"
,
.
name
=
"eisa_ba"
,
.
id_table
=
eisa_tbl
,
.
id_table
=
eisa_tbl
,
.
probe
=
eisa_probe
,
.
probe
=
eisa_probe
,
...
...
drivers/parisc/hppb.c
浏览文件 @
cfe4fbfb
...
@@ -45,7 +45,7 @@ static struct hppb_card hppb_card_head = {
...
@@ -45,7 +45,7 @@ static struct hppb_card hppb_card_head = {
* (return 1). If so, initialize the chip and tell other partners in crime
* (return 1). If so, initialize the chip and tell other partners in crime
* they have work to do.
* they have work to do.
*/
*/
static
int
hppb_probe
(
struct
parisc_device
*
dev
)
static
int
__init
hppb_probe
(
struct
parisc_device
*
dev
)
{
{
int
status
;
int
status
;
struct
hppb_card
*
card
=
&
hppb_card_head
;
struct
hppb_card
*
card
=
&
hppb_card_head
;
...
@@ -81,7 +81,7 @@ static int hppb_probe(struct parisc_device *dev)
...
@@ -81,7 +81,7 @@ static int hppb_probe(struct parisc_device *dev)
return
0
;
return
0
;
}
}
static
struct
parisc_device_id
hppb_tbl
[]
=
{
static
const
struct
parisc_device_id
hppb_tbl
[]
__initconst
=
{
{
HPHW_BCPORT
,
HVERSION_REV_ANY_ID
,
0x500
,
0xc
},
/* E25 and K */
{
HPHW_BCPORT
,
HVERSION_REV_ANY_ID
,
0x500
,
0xc
},
/* E25 and K */
{
HPHW_BCPORT
,
0x0
,
0x501
,
0xc
},
/* E35 */
{
HPHW_BCPORT
,
0x0
,
0x501
,
0xc
},
/* E35 */
{
HPHW_BCPORT
,
0x0
,
0x502
,
0xc
},
/* E45 */
{
HPHW_BCPORT
,
0x0
,
0x502
,
0xc
},
/* E45 */
...
@@ -89,7 +89,7 @@ static struct parisc_device_id hppb_tbl[] = {
...
@@ -89,7 +89,7 @@ static struct parisc_device_id hppb_tbl[] = {
{
0
,
}
{
0
,
}
};
};
static
struct
parisc_driver
hppb_driver
=
{
static
struct
parisc_driver
hppb_driver
__refdata
=
{
.
name
=
"gecko_boa"
,
.
name
=
"gecko_boa"
,
.
id_table
=
hppb_tbl
,
.
id_table
=
hppb_tbl
,
.
probe
=
hppb_probe
,
.
probe
=
hppb_probe
,
...
...
drivers/parisc/lasi.c
浏览文件 @
cfe4fbfb
...
@@ -227,12 +227,12 @@ static int __init lasi_init_chip(struct parisc_device *dev)
...
@@ -227,12 +227,12 @@ static int __init lasi_init_chip(struct parisc_device *dev)
return
ret
;
return
ret
;
}
}
static
struct
parisc_device_id
lasi_tbl
[]
=
{
static
struct
parisc_device_id
lasi_tbl
[]
__initdata
=
{
{
HPHW_BA
,
HVERSION_REV_ANY_ID
,
HVERSION_ANY_ID
,
0x00081
},
{
HPHW_BA
,
HVERSION_REV_ANY_ID
,
HVERSION_ANY_ID
,
0x00081
},
{
0
,
}
{
0
,
}
};
};
struct
parisc_driver
lasi_driver
=
{
struct
parisc_driver
lasi_driver
__refdata
=
{
.
name
=
"lasi"
,
.
name
=
"lasi"
,
.
id_table
=
lasi_tbl
,
.
id_table
=
lasi_tbl
,
.
probe
=
lasi_init_chip
,
.
probe
=
lasi_init_chip
,
...
...
drivers/parisc/lba_pci.c
浏览文件 @
cfe4fbfb
...
@@ -1613,14 +1613,14 @@ lba_driver_probe(struct parisc_device *dev)
...
@@ -1613,14 +1613,14 @@ lba_driver_probe(struct parisc_device *dev)
return
0
;
return
0
;
}
}
static
struct
parisc_device_id
lba_tbl
[]
=
{
static
const
struct
parisc_device_id
lba_tbl
[]
__initconst
=
{
{
HPHW_BRIDGE
,
HVERSION_REV_ANY_ID
,
ELROY_HVERS
,
0xa
},
{
HPHW_BRIDGE
,
HVERSION_REV_ANY_ID
,
ELROY_HVERS
,
0xa
},
{
HPHW_BRIDGE
,
HVERSION_REV_ANY_ID
,
MERCURY_HVERS
,
0xa
},
{
HPHW_BRIDGE
,
HVERSION_REV_ANY_ID
,
MERCURY_HVERS
,
0xa
},
{
HPHW_BRIDGE
,
HVERSION_REV_ANY_ID
,
QUICKSILVER_HVERS
,
0xa
},
{
HPHW_BRIDGE
,
HVERSION_REV_ANY_ID
,
QUICKSILVER_HVERS
,
0xa
},
{
0
,
}
{
0
,
}
};
};
static
struct
parisc_driver
lba_driver
=
{
static
struct
parisc_driver
lba_driver
__refdata
=
{
.
name
=
MODULE_NAME
,
.
name
=
MODULE_NAME
,
.
id_table
=
lba_tbl
,
.
id_table
=
lba_tbl
,
.
probe
=
lba_driver_probe
,
.
probe
=
lba_driver_probe
,
...
...
drivers/parisc/sba_iommu.c
浏览文件 @
cfe4fbfb
...
@@ -1905,7 +1905,7 @@ static const struct file_operations sba_proc_bitmap_fops = {
...
@@ -1905,7 +1905,7 @@ static const struct file_operations sba_proc_bitmap_fops = {
};
};
#endif
/* CONFIG_PROC_FS */
#endif
/* CONFIG_PROC_FS */
static
struct
parisc_device_id
sba_tbl
[]
=
{
static
const
struct
parisc_device_id
sba_tbl
[]
__initconst
=
{
{
HPHW_IOA
,
HVERSION_REV_ANY_ID
,
ASTRO_RUNWAY_PORT
,
0xb
},
{
HPHW_IOA
,
HVERSION_REV_ANY_ID
,
ASTRO_RUNWAY_PORT
,
0xb
},
{
HPHW_BCPORT
,
HVERSION_REV_ANY_ID
,
IKE_MERCED_PORT
,
0xc
},
{
HPHW_BCPORT
,
HVERSION_REV_ANY_ID
,
IKE_MERCED_PORT
,
0xc
},
{
HPHW_BCPORT
,
HVERSION_REV_ANY_ID
,
REO_MERCED_PORT
,
0xc
},
{
HPHW_BCPORT
,
HVERSION_REV_ANY_ID
,
REO_MERCED_PORT
,
0xc
},
...
@@ -1916,7 +1916,7 @@ static struct parisc_device_id sba_tbl[] = {
...
@@ -1916,7 +1916,7 @@ static struct parisc_device_id sba_tbl[] = {
static
int
sba_driver_callback
(
struct
parisc_device
*
);
static
int
sba_driver_callback
(
struct
parisc_device
*
);
static
struct
parisc_driver
sba_driver
=
{
static
struct
parisc_driver
sba_driver
__refdata
=
{
.
name
=
MODULE_NAME
,
.
name
=
MODULE_NAME
,
.
id_table
=
sba_tbl
,
.
id_table
=
sba_tbl
,
.
probe
=
sba_driver_callback
,
.
probe
=
sba_driver_callback
,
...
@@ -1927,7 +1927,7 @@ static struct parisc_driver sba_driver = {
...
@@ -1927,7 +1927,7 @@ static struct parisc_driver sba_driver = {
** If so, initialize the chip and tell other partners in crime they
** If so, initialize the chip and tell other partners in crime they
** have work to do.
** have work to do.
*/
*/
static
int
sba_driver_callback
(
struct
parisc_device
*
dev
)
static
int
__init
sba_driver_callback
(
struct
parisc_device
*
dev
)
{
{
struct
sba_device
*
sba_dev
;
struct
sba_device
*
sba_dev
;
u32
func_class
;
u32
func_class
;
...
...
drivers/parisc/superio.c
浏览文件 @
cfe4fbfb
...
@@ -482,14 +482,14 @@ superio_probe(struct pci_dev *dev, const struct pci_device_id *id)
...
@@ -482,14 +482,14 @@ superio_probe(struct pci_dev *dev, const struct pci_device_id *id)
return
-
ENODEV
;
return
-
ENODEV
;
}
}
static
const
struct
pci_device_id
superio_tbl
[]
=
{
static
const
struct
pci_device_id
superio_tbl
[]
__initconst
=
{
{
PCI_DEVICE
(
PCI_VENDOR_ID_NS
,
PCI_DEVICE_ID_NS_87560_LIO
)
},
{
PCI_DEVICE
(
PCI_VENDOR_ID_NS
,
PCI_DEVICE_ID_NS_87560_LIO
)
},
{
PCI_DEVICE
(
PCI_VENDOR_ID_NS
,
PCI_DEVICE_ID_NS_87560_USB
)
},
{
PCI_DEVICE
(
PCI_VENDOR_ID_NS
,
PCI_DEVICE_ID_NS_87560_USB
)
},
{
PCI_DEVICE
(
PCI_VENDOR_ID_NS
,
PCI_DEVICE_ID_NS_87415
)
},
{
PCI_DEVICE
(
PCI_VENDOR_ID_NS
,
PCI_DEVICE_ID_NS_87415
)
},
{
0
,
}
{
0
,
}
};
};
static
struct
pci_driver
superio_driver
=
{
static
struct
pci_driver
superio_driver
__refdata
=
{
.
name
=
SUPERIO
,
.
name
=
SUPERIO
,
.
id_table
=
superio_tbl
,
.
id_table
=
superio_tbl
,
.
probe
=
superio_probe
,
.
probe
=
superio_probe
,
...
...
drivers/parisc/wax.c
浏览文件 @
cfe4fbfb
...
@@ -125,14 +125,14 @@ static int __init wax_init_chip(struct parisc_device *dev)
...
@@ -125,14 +125,14 @@ static int __init wax_init_chip(struct parisc_device *dev)
return
ret
;
return
ret
;
}
}
static
struct
parisc_device_id
wax_tbl
[]
=
{
static
const
struct
parisc_device_id
wax_tbl
[]
__initconst
=
{
{
HPHW_BA
,
HVERSION_REV_ANY_ID
,
HVERSION_ANY_ID
,
0x0008e
},
{
HPHW_BA
,
HVERSION_REV_ANY_ID
,
HVERSION_ANY_ID
,
0x0008e
},
{
0
,
}
{
0
,
}
};
};
MODULE_DEVICE_TABLE
(
parisc
,
wax_tbl
);
MODULE_DEVICE_TABLE
(
parisc
,
wax_tbl
);
struct
parisc_driver
wax_driver
=
{
struct
parisc_driver
wax_driver
__refdata
=
{
.
name
=
"wax"
,
.
name
=
"wax"
,
.
id_table
=
wax_tbl
,
.
id_table
=
wax_tbl
,
.
probe
=
wax_init_chip
,
.
probe
=
wax_init_chip
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录