Commit 408b664a authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds
Browse files

[PATCH] make lots of things static



Another large rollup of various patches from Adrian which make things static
where they were needlessly exported.

Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent c31403a1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -124,7 +124,7 @@ int generic_get_free_region(unsigned long base, unsigned long size)
	return -ENOSPC;
}

void generic_get_mtrr(unsigned int reg, unsigned long *base,
static void generic_get_mtrr(unsigned int reg, unsigned long *base,
			     unsigned int *size, mtrr_type * type)
{
	unsigned int mask_lo, mask_hi, base_lo, base_hi;
+1 −1
Original line number Diff line number Diff line
@@ -60,7 +60,7 @@ static struct console early_vga_console = {

/* Serial functions loosely based on a similar package from Klaus P. Gerlicher */ 

int early_serial_base = 0x3f8;  /* ttyS0 */ 
static int early_serial_base = 0x3f8;  /* ttyS0 */

#define XMTRDY          0x20

+2 −2
Original line number Diff line number Diff line
@@ -192,7 +192,7 @@ static struct aper_size_info_32 ali_generic_sizes[7] =
	{4, 1024, 0, 3}
};

struct agp_bridge_driver ali_generic_bridge = {
static struct agp_bridge_driver ali_generic_bridge = {
	.owner			= THIS_MODULE,
	.aperture_sizes		= ali_generic_sizes,
	.size_type		= U32_APER_SIZE,
@@ -215,7 +215,7 @@ struct agp_bridge_driver ali_generic_bridge = {
	.agp_destroy_page	= ali_destroy_page,
};

struct agp_bridge_driver ali_m1541_bridge = {
static struct agp_bridge_driver ali_m1541_bridge = {
	.owner			= THIS_MODULE,
	.aperture_sizes		= ali_generic_sizes,
	.size_type		= U32_APER_SIZE,
+1 −1
Original line number Diff line number Diff line
@@ -358,7 +358,7 @@ static struct gatt_mask amd_irongate_masks[] =
	{.mask = 1, .type = 0}
};

struct agp_bridge_driver amd_irongate_driver = {
static struct agp_bridge_driver amd_irongate_driver = {
	.owner			= THIS_MODULE,
	.aperture_sizes		= amd_irongate_sizes,
	.size_type		= LVL2_APER_SIZE,
+1 −1
Original line number Diff line number Diff line
@@ -243,7 +243,7 @@ static void amd64_cleanup(void)
}


struct agp_bridge_driver amd_8151_driver = {
static struct agp_bridge_driver amd_8151_driver = {
	.owner			= THIS_MODULE,
	.aperture_sizes		= amd_8151_sizes,
	.size_type		= U32_APER_SIZE,
Loading