diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-05-02 00:02:41 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-07-22 00:54:53 -0400 |
commit | ca52a49846f1451163c0dc14c40cd06ff808df3e (patch) | |
tree | 88a3edfad7c5db3394657c2a5ce943d44e442e05 /drivers/video | |
parent | aab0de245150c09e61c30962feb16aacde508dc3 (diff) |
driver core: remove DEVICE_NAME_SIZE define
There is no such thing as a "device name size" in the driver core, so
remove the define and fix up any users of this odd define in the rest of
the kernel.
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/aty/aty128fb.c | 2 | ||||
-rw-r--r-- | drivers/video/aty/radeonfb.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/aty/aty128fb.c b/drivers/video/aty/aty128fb.c index 24ee96c4e9e9..07b6addbb3c1 100644 --- a/drivers/video/aty/aty128fb.c +++ b/drivers/video/aty/aty128fb.c | |||
@@ -1872,7 +1872,7 @@ static int __devinit aty128_init(struct pci_dev *pdev, const struct pci_device_i | |||
1872 | struct fb_info *info = pci_get_drvdata(pdev); | 1872 | struct fb_info *info = pci_get_drvdata(pdev); |
1873 | struct aty128fb_par *par = info->par; | 1873 | struct aty128fb_par *par = info->par; |
1874 | struct fb_var_screeninfo var; | 1874 | struct fb_var_screeninfo var; |
1875 | char video_card[DEVICE_NAME_SIZE]; | 1875 | char video_card[50]; |
1876 | u8 chip_rev; | 1876 | u8 chip_rev; |
1877 | u32 dac; | 1877 | u32 dac; |
1878 | 1878 | ||
diff --git a/drivers/video/aty/radeonfb.h b/drivers/video/aty/radeonfb.h index c347e38cd0b0..ccbfffd12805 100644 --- a/drivers/video/aty/radeonfb.h +++ b/drivers/video/aty/radeonfb.h | |||
@@ -289,7 +289,7 @@ struct radeonfb_info { | |||
289 | struct radeon_regs state; | 289 | struct radeon_regs state; |
290 | struct radeon_regs init_state; | 290 | struct radeon_regs init_state; |
291 | 291 | ||
292 | char name[DEVICE_NAME_SIZE]; | 292 | char name[50]; |
293 | 293 | ||
294 | unsigned long mmio_base_phys; | 294 | unsigned long mmio_base_phys; |
295 | unsigned long fb_base_phys; | 295 | unsigned long fb_base_phys; |