Repository navigation
Commit 87cad5c
net/fec: clean suspend/resume
Commit 59d4289 converted fec to dev_pm_ops but
didn't update the suspend/resume functions thus leading to the following warning :
"initialization from incompatible pointer type" when CONFIG_PM is set.
This patch also fixe a few indentation and style around CONFIG_PM area.
Signed-off-by: Eric Bénard <eric@eukrea.com>
Cc: netdev@vger.kernel.org
Cc: davem@davemloft.net
Cc: amit.kucheria@canonical.com
Cc: s.hauer@pengutronix.de
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent d05f6cf commit 87cad5c
1 file changed
Lines changed: 12 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1360 | 1360 | | |
1361 | 1361 | | |
1362 | 1362 | | |
1363 | | - | |
1364 | 1363 | | |
1365 | | - | |
| 1364 | + | |
1366 | 1365 | | |
1367 | | - | |
| 1366 | + | |
1368 | 1367 | | |
1369 | 1368 | | |
1370 | 1369 | | |
| |||
1377 | 1376 | | |
1378 | 1377 | | |
1379 | 1378 | | |
1380 | | - | |
| 1379 | + | |
1381 | 1380 | | |
1382 | | - | |
| 1381 | + | |
1383 | 1382 | | |
1384 | 1383 | | |
1385 | 1384 | | |
| |||
1399 | 1398 | | |
1400 | 1399 | | |
1401 | 1400 | | |
1402 | | - | |
1403 | | - | |
1404 | | - | |
1405 | | - | |
1406 | | - | |
1407 | | - | |
1408 | | - | |
1409 | | - | |
| 1401 | + | |
1410 | 1402 | | |
1411 | 1403 | | |
1412 | 1404 | | |
1413 | | - | |
1414 | | - | |
1415 | | - | |
| 1405 | + | |
| 1406 | + | |
| 1407 | + | |
| 1408 | + | |
| 1409 | + | |
1416 | 1410 | | |
1417 | | - | |
1418 | | - | |
| 1411 | + | |
| 1412 | + | |
1419 | 1413 | | |
1420 | 1414 | | |
1421 | 1415 | | |
| |||
0 commit comments