diff options
author | Olof Johansson <olof@lixom.net> | 2013-01-14 13:20:02 -0500 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2013-01-14 13:20:02 -0500 |
commit | 8d84981e395850aab31c3f2ca7e2738e03f671d7 (patch) | |
tree | 933425fddb23d28be802277471df3fe3f6c2711d /drivers/char/agp/amd64-agp.c | |
parent | 00c82d64405631967dca3890a9ce80ab35d04cc7 (diff) | |
parent | 77cc982f6a3b33a5aa058ad3b20cda8866db2948 (diff) |
Merge branch 'clocksource/cleanup' into next/cleanup
Clockevent cleanup series from Shawn Guo.
Resolved move/change conflict in mach-pxa/time.c due to the sys_timer
cleanup.
* clocksource/cleanup:
clocksource: use clockevents_config_and_register() where possible
ARM: use clockevents_config_and_register() where possible
clockevents: export clockevents_config_and_register for module use
+ sync to Linux 3.8-rc3
Signed-off-by: Olof Johansson <olof@lixom.net>
Conflicts:
arch/arm/mach-pxa/time.c
Diffstat (limited to 'drivers/char/agp/amd64-agp.c')
-rw-r--r-- | drivers/char/agp/amd64-agp.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/drivers/char/agp/amd64-agp.c b/drivers/char/agp/amd64-agp.c index 061d46209b1a..d79d692d05b8 100644 --- a/drivers/char/agp/amd64-agp.c +++ b/drivers/char/agp/amd64-agp.c | |||
@@ -240,7 +240,7 @@ static const struct agp_bridge_driver amd_8151_driver = { | |||
240 | }; | 240 | }; |
241 | 241 | ||
242 | /* Some basic sanity checks for the aperture. */ | 242 | /* Some basic sanity checks for the aperture. */ |
243 | static int __devinit agp_aperture_valid(u64 aper, u32 size) | 243 | static int agp_aperture_valid(u64 aper, u32 size) |
244 | { | 244 | { |
245 | if (!aperture_valid(aper, size, 32*1024*1024)) | 245 | if (!aperture_valid(aper, size, 32*1024*1024)) |
246 | return 0; | 246 | return 0; |
@@ -267,8 +267,7 @@ static int __devinit agp_aperture_valid(u64 aper, u32 size) | |||
267 | * to allocate that much memory. But at least error out cleanly instead of | 267 | * to allocate that much memory. But at least error out cleanly instead of |
268 | * crashing. | 268 | * crashing. |
269 | */ | 269 | */ |
270 | static __devinit int fix_northbridge(struct pci_dev *nb, struct pci_dev *agp, | 270 | static int fix_northbridge(struct pci_dev *nb, struct pci_dev *agp, u16 cap) |
271 | u16 cap) | ||
272 | { | 271 | { |
273 | u32 aper_low, aper_hi; | 272 | u32 aper_low, aper_hi; |
274 | u64 aper, nb_aper; | 273 | u64 aper, nb_aper; |
@@ -326,7 +325,7 @@ static __devinit int fix_northbridge(struct pci_dev *nb, struct pci_dev *agp, | |||
326 | return 0; | 325 | return 0; |
327 | } | 326 | } |
328 | 327 | ||
329 | static __devinit int cache_nbs(struct pci_dev *pdev, u32 cap_ptr) | 328 | static int cache_nbs(struct pci_dev *pdev, u32 cap_ptr) |
330 | { | 329 | { |
331 | int i; | 330 | int i; |
332 | 331 | ||
@@ -352,7 +351,7 @@ static __devinit int cache_nbs(struct pci_dev *pdev, u32 cap_ptr) | |||
352 | } | 351 | } |
353 | 352 | ||
354 | /* Handle AMD 8151 quirks */ | 353 | /* Handle AMD 8151 quirks */ |
355 | static void __devinit amd8151_init(struct pci_dev *pdev, struct agp_bridge_data *bridge) | 354 | static void amd8151_init(struct pci_dev *pdev, struct agp_bridge_data *bridge) |
356 | { | 355 | { |
357 | char *revstring; | 356 | char *revstring; |
358 | 357 | ||
@@ -390,7 +389,7 @@ static const struct aper_size_info_32 uli_sizes[7] = | |||
390 | {8, 2048, 1, 4}, | 389 | {8, 2048, 1, 4}, |
391 | {4, 1024, 0, 3} | 390 | {4, 1024, 0, 3} |
392 | }; | 391 | }; |
393 | static int __devinit uli_agp_init(struct pci_dev *pdev) | 392 | static int uli_agp_init(struct pci_dev *pdev) |
394 | { | 393 | { |
395 | u32 httfea,baseaddr,enuscr; | 394 | u32 httfea,baseaddr,enuscr; |
396 | struct pci_dev *dev1; | 395 | struct pci_dev *dev1; |
@@ -513,8 +512,8 @@ put: | |||
513 | return ret; | 512 | return ret; |
514 | } | 513 | } |
515 | 514 | ||
516 | static int __devinit agp_amd64_probe(struct pci_dev *pdev, | 515 | static int agp_amd64_probe(struct pci_dev *pdev, |
517 | const struct pci_device_id *ent) | 516 | const struct pci_device_id *ent) |
518 | { | 517 | { |
519 | struct agp_bridge_data *bridge; | 518 | struct agp_bridge_data *bridge; |
520 | u8 cap_ptr; | 519 | u8 cap_ptr; |