Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 68638
b: refs/heads/master
c: cbe619b
h: refs/heads/master
v: v3
  • Loading branch information
Linus Torvalds committed Oct 14, 2007
1 parent 173930a commit bb25b43
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 40 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 45b3f4cc6025bdb14beb65b8a3a732bf55d1bc41
refs/heads/master: cbe619b162121577bc1e8ed4384dfb85f19e43d8
12 changes: 0 additions & 12 deletions trunk/arch/powerpc/platforms/52xx/lite5200.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,18 +158,6 @@ static void __init lite5200_setup_arch(void)
of_node_put(np);
}
#endif

#ifdef CONFIG_BLK_DEV_INITRD
if (initrd_start)
ROOT_DEV = Root_RAM0;
else
#endif
#ifdef CONFIG_ROOT_NFS
ROOT_DEV = Root_NFS;
#else
ROOT_DEV = Root_HDA1;
#endif

}

/*
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/ata/pata_mpc52xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,6 @@ mpc52xx_ata_init_one(struct device *dev, struct mpc52xx_ata_priv *priv,
struct ata_host *host;
struct ata_port *ap;
struct ata_ioports *aio;
int rc;

host = ata_host_alloc(dev, 1);
if (!host)
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/base/memory.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ static const char *memory_uevent_name(struct kset *kset, struct kobject *kobj)
return MEMORY_CLASS_NAME;
}

static int memory_uevent(struct kset *kset, struct kobj_uevent_env *env)
static int memory_uevent(struct kset *kset, struct kobject *obj, struct kobj_uevent_env *env)
{
int retval = 0;

Expand Down
15 changes: 4 additions & 11 deletions trunk/drivers/mmc/core/sdio_bus.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,30 +96,23 @@ static int sdio_bus_match(struct device *dev, struct device_driver *drv)
}

static int
sdio_bus_uevent(struct device *dev, char **envp, int num_envp, char *buf,
int buf_size)
sdio_bus_uevent(struct device *dev, struct kobj_uevent_env *env)
{
struct sdio_func *func = dev_to_sdio_func(dev);
int i = 0, length = 0;

if (add_uevent_var(envp, num_envp, &i,
buf, buf_size, &length,
if (add_uevent_var(env,
"SDIO_CLASS=%02X", func->class))
return -ENOMEM;

if (add_uevent_var(envp, num_envp, &i,
buf, buf_size, &length,
if (add_uevent_var(env,
"SDIO_ID=%04X:%04X", func->vendor, func->device))
return -ENOMEM;

if (add_uevent_var(envp, num_envp, &i,
buf, buf_size, &length,
if (add_uevent_var(env,
"MODALIAS=sdio:c%02Xv%04Xd%04X",
func->class, func->vendor, func->device))
return -ENOMEM;

envp[i] = NULL;

return 0;
}

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/net/ibm_newemac/rgmii.c
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ static int __devinit rgmii_probe(struct of_device *ofdev,
}

/* Check for RGMII type */
if (device_is_compatible(ofdev->node, "ibm,rgmii-axon"))
if (of_device_is_compatible(ofdev->node, "ibm,rgmii-axon"))
dev->type = RGMII_AXON;
else
dev->type = RGMII_STANDARD;
Expand Down
8 changes: 4 additions & 4 deletions trunk/drivers/serial/mpc52xx_uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -756,8 +756,8 @@ mpc52xx_console_setup(struct console *co, char *options)
if (port->membase == NULL)
return -EINVAL;

pr_debug("mpc52xx-psc uart at %lx, mapped to %p, irq=%x, freq=%i\n",
port->mapbase, port->membase, port->irq, port->uartclk);
pr_debug("mpc52xx-psc uart at %p, mapped to %p, irq=%x, freq=%i\n",
(void*)port->mapbase, port->membase, port->irq, port->uartclk);

/* Setup the port parameters accoding to options */
if (options)
Expand Down Expand Up @@ -974,8 +974,8 @@ mpc52xx_uart_of_probe(struct of_device *op, const struct of_device_id *match)
port->mapbase = res.start;
port->irq = irq_of_parse_and_map(op->node, 0);

dev_dbg(&op->dev, "mpc52xx-psc uart at %lx, irq=%x, freq=%i\n",
port->mapbase, port->irq, port->uartclk);
dev_dbg(&op->dev, "mpc52xx-psc uart at %p, irq=%x, freq=%i\n",
(void*)port->mapbase, port->irq, port->uartclk);

if ((port->irq==NO_IRQ) || !port->mapbase) {
printk(KERN_ERR "Could not allocate resources for PSC\n");
Expand Down
10 changes: 2 additions & 8 deletions trunk/drivers/ssb/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -321,23 +321,17 @@ static int ssb_bus_match(struct device *dev, struct device_driver *drv)
return 0;
}

static int ssb_device_uevent(struct device *dev, char **envp, int num_envp,
char *buffer, int buffer_size)
static int ssb_device_uevent(struct device *dev, struct kobj_uevent_env *env)
{
struct ssb_device *ssb_dev = dev_to_ssb_dev(dev);
int ret, i = 0, length = 0;

if (!dev)
return -ENODEV;

ret = add_uevent_var(envp, num_envp, &i,
buffer, buffer_size, &length,
return add_uevent_var(env,
"MODALIAS=ssb:v%04Xid%04Xrev%02X",
ssb_dev->id.vendor, ssb_dev->id.coreid,
ssb_dev->id.revision);
envp[i] = NULL;

return ret;
}

static struct bus_type ssb_bustype = {
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/ssb/pcmcia.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

#include <linux/ssb/ssb.h>
#include <linux/delay.h>
#include <linux/io.h>

#include <pcmcia/cs_types.h>
#include <pcmcia/cs.h>
Expand Down
2 changes: 2 additions & 0 deletions trunk/drivers/usb/host/ohci-ssb.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,10 @@ static const struct hc_driver ssb_ohci_hc_driver = {
.hub_status_data = ohci_hub_status_data,
.hub_control = ohci_hub_control,
.hub_irq_enable = ohci_rhsc_enable,
#ifdef CONFIG_PM
.bus_suspend = ohci_bus_suspend,
.bus_resume = ohci_bus_resume,
#endif

.start_port_reset = ohci_start_port_reset,
};
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/video/xilinxfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ static struct xilinxfb_platform_data xilinx_fb_default_pdata = {
.xres = 640,
.yres = 480,
.xvirt = 1024,
.yvirt = 480;
.yvirt = 480,
};

/*
Expand Down

0 comments on commit bb25b43

Please sign in to comment.