Merge branch 'fixes' into for-linus
Conflicts: arch/arm/mach-versatile/core.c
This commit is contained in:
@@ -249,7 +249,7 @@ static int bbc_remove(struct of_device *op)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static struct of_device_id bbc_beep_match[] = {
|
||||
static const struct of_device_id bbc_beep_match[] = {
|
||||
{
|
||||
.name = "beep",
|
||||
.compatible = "SUNW,bbc-beep",
|
||||
@@ -328,7 +328,7 @@ static int grover_remove(struct of_device *op)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static struct of_device_id grover_beep_match[] = {
|
||||
static const struct of_device_id grover_beep_match[] = {
|
||||
{
|
||||
.name = "beep",
|
||||
.compatible = "SUNW,smbus-beep",
|
||||
|
||||
@@ -87,7 +87,7 @@ static int __devexit sparc_i8042_remove(struct of_device *op)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static struct of_device_id sparc_i8042_match[] = {
|
||||
static const struct of_device_id sparc_i8042_match[] = {
|
||||
{
|
||||
.name = "8042",
|
||||
},
|
||||
|
||||
@@ -335,11 +335,11 @@ static struct xenbus_driver xenkbd = {
|
||||
|
||||
static int __init xenkbd_init(void)
|
||||
{
|
||||
if (!is_running_on_xen())
|
||||
if (!xen_domain())
|
||||
return -ENODEV;
|
||||
|
||||
/* Nothing to do if running in dom0. */
|
||||
if (is_initial_xendomain())
|
||||
if (xen_initial_domain())
|
||||
return -ENODEV;
|
||||
|
||||
return xenbus_register_frontend(&xenkbd);
|
||||
|
||||
Reference in New Issue
Block a user