From: Andrew Morton - Remove inlines - they're slower! - coding-style fixes Cc: Krzysztof Helt Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton --- drivers/video/tridentfb.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff -puN drivers/video/tridentfb.c~tridentfb-resource-management-fixes-in-probe-function-fix drivers/video/tridentfb.c --- a/drivers/video/tridentfb.c~tridentfb-resource-management-fixes-in-probe-function-fix +++ a/drivers/video/tridentfb.c @@ -564,9 +564,10 @@ static inline void write3CE(int reg, uns t_outb(val, 0x3CF); } -static inline void enable_mmio(void) +static void enable_mmio(void) { unsigned char tmp; + /* Goto New Mode */ outb(0x0B, 0x3C4); inb(0x3C5); @@ -584,9 +585,10 @@ static inline void enable_mmio(void) t_outb(tmp, 0x3C5); } -static inline void disable_mmio(void) +static void disable_mmio(void) { unsigned char tmp; + /* Goto New Mode */ t_outb(0x0B, 0x3C4); t_inb(0x3C5); _