Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 267373
b: refs/heads/master
c: fc78050
h: refs/heads/master
i:
  267371: 8219ab0
v: v3
  • Loading branch information
Mark Einon authored and Greg Kroah-Hartman committed Aug 23, 2011
1 parent 92b02ad commit 3c01791
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 13 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: e6cbda294ad1be1db08c747dfa1a5a9cb6f8c41a
refs/heads/master: fc78050f67fb662395180296ac7132dab256245e
3 changes: 1 addition & 2 deletions trunk/drivers/staging/et131x/et131x.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@
int et131x_init_eeprom(struct et131x_adapter *etdev);

/* et131x_initpci.c */
void ConfigGlobalRegs(struct et131x_adapter *pAdapter);
void ConfigMMCRegs(struct et131x_adapter *pAdapter);
void et131x_config_global_regs(struct et131x_adapter *pAdapter);
void et131x_enable_interrupts(struct et131x_adapter *adapter);
void et131x_disable_interrupts(struct et131x_adapter *adapter);
void et131x_align_allocated_memory(struct et131x_adapter *adapter,
Expand Down
12 changes: 2 additions & 10 deletions trunk/drivers/staging/et131x/et131x_initpci.c
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ void et131x_link_detection_handler(unsigned long data)
*
* Used to configure the global registers on the JAGCore
*/
void ConfigGlobalRegs(struct et131x_adapter *etdev)
void et131x_configure_global_regs(struct et131x_adapter *etdev)
{
struct global_regs __iomem *regs = &etdev->regs->global;

Expand Down Expand Up @@ -366,7 +366,6 @@ void ConfigGlobalRegs(struct et131x_adapter *etdev)
writel(0, &regs->watchdog_timer);
}


/**
* et131x_adapter_setup - Set the adapter up as per cassini+ documentation
* @etdev: pointer to our private adapter structure
Expand All @@ -378,7 +377,7 @@ int et131x_adapter_setup(struct et131x_adapter *etdev)
int status = 0;

/* Configure the JAGCore */
ConfigGlobalRegs(etdev);
et131x_configure_global_regs(etdev);

et1310_config_mac_regs1(etdev);

Expand Down Expand Up @@ -517,8 +516,6 @@ void et131x_adapter_memory_free(struct et131x_adapter *adapter)
et131x_rx_dma_memory_free(adapter);
}



/**
* et131x_adapter_init
* @etdev: pointer to the private adapter struct
Expand All @@ -527,8 +524,6 @@ void et131x_adapter_memory_free(struct et131x_adapter *adapter)
* Initialize the data structures for the et131x_adapter object and link
* them together with the platform provided device structures.
*/


static struct et131x_adapter *et131x_adapter_init(struct net_device *netdev,
struct pci_dev *pdev)
{
Expand Down Expand Up @@ -602,7 +597,6 @@ static struct et131x_adapter *et131x_adapter_init(struct net_device *netdev,
* contained in the pci_device_id table. This routine is the equivalent to
* a device insertion routine.
*/

static int __devinit et131x_pci_setup(struct pci_dev *pdev,
const struct pci_device_id *ent)
{
Expand Down Expand Up @@ -774,7 +768,6 @@ static int __devinit et131x_pci_setup(struct pci_dev *pdev,
* PCI subsystem detects that a PCI device which matches the information
* contained in the pci_device_id table has been removed.
*/

static void __devexit et131x_pci_remove(struct pci_dev *pdev)
{
struct net_device *netdev;
Expand Down Expand Up @@ -815,7 +808,6 @@ static struct pci_driver et131x_driver = {
.resume = NULL, /* et131x_pci_resume */
};


/**
* et131x_init_module - The "main" entry point called on driver initialization
*
Expand Down

0 comments on commit 3c01791

Please sign in to comment.