Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 93581
b: refs/heads/master
c: 38bdb41
h: refs/heads/master
i:
  93579: 8f03c3a
v: v3
  • Loading branch information
Paolo Ciarrocchi authored and Bartlomiej Zolnierkiewicz committed Apr 26, 2008
1 parent cf73041 commit 98d815c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ec29782ba3fe6bd72668af8e0f7f18cd14a3dbcd
refs/heads/master: 38bdb4105ec852d743eb4e82db2b8b725a14c911
11 changes: 6 additions & 5 deletions trunk/drivers/ide/legacy/ali14xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ static u8 regOff; /* output to base port to close registers */
/*
* Read a controller register.
*/
static inline u8 inReg (u8 reg)
static inline u8 inReg(u8 reg)
{
outb_p(reg, regPort);
return inb(dataPort);
Expand All @@ -95,7 +95,7 @@ static inline u8 inReg (u8 reg)
/*
* Write a controller register.
*/
static void outReg (u8 data, u8 reg)
static void outReg(u8 data, u8 reg)
{
outb_p(reg, regPort);
outb_p(data, dataPort);
Expand Down Expand Up @@ -143,7 +143,7 @@ static void ali14xx_set_pio_mode(ide_drive_t *drive, const u8 pio)
/*
* Auto-detect the IDE controller port.
*/
static int __init findPort (void)
static int __init findPort(void)
{
int i;
u8 t;
Expand Down Expand Up @@ -175,7 +175,8 @@ static int __init findPort (void)
/*
* Initialize controller registers with default values.
*/
static int __init initRegisters (void) {
static int __init initRegisters(void)
{
const RegInitializer *p;
u8 t;
unsigned long flags;
Expand Down Expand Up @@ -239,7 +240,7 @@ static int __init ali14xx_probe(void)
return 0;
}

int probe_ali14xx = 0;
int probe_ali14xx;

module_param_named(probe, probe_ali14xx, bool, 0);
MODULE_PARM_DESC(probe, "probe for ALI M14xx chipsets");
Expand Down

0 comments on commit 98d815c

Please sign in to comment.