[PATCH] PCI: Spelling fixes for drivers/pci.
Here are some spelling corrections for drivers/pci. CONTROLER -> CONTROLLER Regisetr -> Register harware -> hardware inital -> initial Initilize -> Initialize funtion -> function funciton -> function occured -> occurred Signed-off-by: Steven Cole <elenstev@mesatop.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
@@ -196,7 +196,7 @@ struct ebda_hpc_bus {
|
||||
|
||||
|
||||
/********************************************************************
|
||||
* THREE TYPE OF HOT PLUG CONTROLER *
|
||||
* THREE TYPE OF HOT PLUG CONTROLLER *
|
||||
********************************************************************/
|
||||
|
||||
struct isa_ctlr_access {
|
||||
|
@@ -64,7 +64,7 @@ static int to_debug = FALSE;
|
||||
#define WPG_I2C_OR 0x2000 // I2C OR operation
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
// Command set for I2C Master Operation Setup Regisetr
|
||||
// Command set for I2C Master Operation Setup Register
|
||||
//----------------------------------------------------------------------------
|
||||
#define WPG_READATADDR_MASK 0x00010000 // read,bytes,I2C shifted,index
|
||||
#define WPG_WRITEATADDR_MASK 0x40010000 // write,bytes,I2C shifted,index
|
||||
@@ -835,7 +835,7 @@ static void poll_hpc (void)
|
||||
if (ibmphp_shutdown)
|
||||
break;
|
||||
|
||||
/* try to get the lock to do some kind of harware access */
|
||||
/* try to get the lock to do some kind of hardware access */
|
||||
down (&semOperations);
|
||||
|
||||
switch (poll_state) {
|
||||
@@ -906,7 +906,7 @@ static void poll_hpc (void)
|
||||
poll_state = POLL_LATCH_REGISTER;
|
||||
break;
|
||||
}
|
||||
/* give up the harware semaphore */
|
||||
/* give up the hardware semaphore */
|
||||
up (&semOperations);
|
||||
/* sleep for a short time just for good measure */
|
||||
msleep(100);
|
||||
|
@@ -150,7 +150,7 @@ struct hotplug_slot_info {
|
||||
* @name: the name of the slot being registered. This string must
|
||||
* be unique amoung slots registered on this system.
|
||||
* @ops: pointer to the &struct hotplug_slot_ops to be used for this slot
|
||||
* @info: pointer to the &struct hotplug_slot_info for the inital values for
|
||||
* @info: pointer to the &struct hotplug_slot_info for the initial values for
|
||||
* this slot.
|
||||
* @release: called during pci_hp_deregister to free memory allocated in a
|
||||
* hotplug_slot structure.
|
||||
|
@@ -297,7 +297,7 @@ static int __init init_slots(void)
|
||||
hotplug_slot->ops = &skel_hotplug_slot_ops;
|
||||
|
||||
/*
|
||||
* Initilize the slot info structure with some known
|
||||
* Initialize the slot info structure with some known
|
||||
* good values.
|
||||
*/
|
||||
info->power_status = get_power_status(slot);
|
||||
|
Reference in New Issue
Block a user