Commit 1867f3e8 authored by Gerd Knorr's avatar Gerd Knorr Committed by Linus Torvalds

[PATCH] zoran_driver.c: make zoran_num_formats static

zoran_num_formats was referenced from two other files as extern, but was used
in none of them.
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarGerd Knorr <kraxel@bytesex.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 57106996
......@@ -58,7 +58,6 @@
#define I2C_NAME(x) (x)->name
extern const struct zoran_format zoran_formats[];
extern const int zoran_num_formats;
static int card[BUZ_MAX] = { -1, -1, -1, -1 };
MODULE_PARM(card, "1-" __stringify(BUZ_MAX) "i");
......
......@@ -58,7 +58,6 @@
ZR36057_ISR_JPEGRepIRQ )
extern const struct zoran_format zoran_formats[];
extern const int zoran_num_formats;
extern int *zr_debug;
......
......@@ -177,7 +177,7 @@ const struct zoran_format zoran_formats[] = {
ZORAN_FORMAT_COMPRESSED,
}
};
const int zoran_num_formats =
static const int zoran_num_formats =
(sizeof(zoran_formats) / sizeof(struct zoran_format));
// RJ: Test only - want to test BUZ_USE_HIMEM even when CONFIG_BIGPHYS_AREA is defined
......
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