Automatically updated using

perl -pi -0777 -e 's/_disable\s*\(\s*struct dev \*dev\s*\)\s*{\s*struct nic \*nic.*?$/_disable ( struct nic *nic ) {/ms' *.c

perl -pi -0777 -e 's/_disable\s*\(\s*struct dev \*dev(\s*__unused)?\)\s*{/_disable ( struct nic *nic$1 ) {/ms' *.c
This commit is contained in:
Michael Brown
2005-04-12 23:31:37 +00:00
parent bd9ae7cc70
commit c87ba23399
31 changed files with 31 additions and 76 deletions
+1 -3
View File
@@ -511,9 +511,7 @@ static void rtl_irq(struct nic *nic, irq_action_t action)
}
}
static void rtl_disable(struct dev *dev)
{
struct nic *nic = (struct nic *)dev;
static void rtl_disable ( struct nic *nic ) {
/* merge reset and disable */
rtl_reset(nic);