Skip to content

Commit

Permalink
x86: aperture_64.c: cleanups
Browse files Browse the repository at this point in the history
Some small cleanups for aperture_64.c; they should not really change
any code.

Signed-off-by: Pavel Machek <pavel@suse.cz>
Cc: Dave Jones <davej@codemonkey.org.uk>
Cc: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  • Loading branch information
pavelmachek authored and KAGA-KOKO committed May 27, 2008
1 parent 0abbc78 commit dd564d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arch/x86/kernel/aperture_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ static u32 __init allocate_aperture(void)


/* Find a PCI capability */
static __u32 __init find_cap(int bus, int slot, int func, int cap)
static u32 __init find_cap(int bus, int slot, int func, int cap)
{
int bytes;
u8 pos;
Expand All @@ -137,7 +137,7 @@ static __u32 __init find_cap(int bus, int slot, int func, int cap)
}

/* Read a standard AGPv3 bridge header */
static __u32 __init read_agp(int bus, int slot, int func, int cap, u32 *order)
static u32 __init read_agp(int bus, int slot, int func, int cap, u32 *order)
{
u32 apsize;
u32 apsizereg;
Expand Down Expand Up @@ -202,7 +202,7 @@ static __u32 __init read_agp(int bus, int slot, int func, int cap, u32 *order)
* the AGP bridges should be always an own bus on the HT hierarchy,
* but do it here for future safety.
*/
static __u32 __init search_agp_bridge(u32 *order, int *valid_agp)
static u32 __init search_agp_bridge(u32 *order, int *valid_agp)
{
int bus, slot, func;

Expand Down

0 comments on commit dd564d0

Please sign in to comment.