Commit a252a371 authored by Thomas 'Dent' Mirlacher's avatar Thomas 'Dent' Mirlacher Committed by James Morris

[PATCH] redundant declarations (#12_15)

 this patch fixes redundant declarations in 2.5.24
 (same as sent yesterday, but this time automacially splitted
 into several mails)
parent 182147c1
......@@ -6,10 +6,6 @@
#include <linux/module.h>
#include <linux/errno.h>
static struct platform_t default_platform;
struct platform_t * platform = &default_platform;
static spinlock_t platform_lock = SPIN_LOCK_UNLOCKED;
void default_reboot(char * cmd)
{
......@@ -36,6 +32,9 @@ static struct platform_t default_platform = {
idle: default_idle,
};
struct platform_t * platform = &default_platform;
static spinlock_t platform_lock = SPIN_LOCK_UNLOCKED;
/**
* set_platform_driver - set the platform driver.
* @pf: driver to set it to
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment