aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAge
* drivers/net/sis190.c section fixAdrian Bunk2007-12-14
* hamachi endianness fixesAl Viro2007-12-14
* e100: free IRQ to remove warningwhenrebootingAuke Kok2007-12-14
* starfire VLAN fixAl Viro2007-12-14
* sundance fixesAl Viro2007-12-14
* sky2: RX lockup fixStephen Hemminger2007-12-14
* Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6Linus Torvalds2007-12-12
|\
| * [SPARC64]: Fix endless loop in cheetah_xcall_deliver().David S. Miller2007-12-12
| * [SERIAL] sparc: Infrastructure to fix section mismatch bugs.Martin Habets2007-12-12
* | Merge branch 'i2c-for-linus' of git://jdelvare.pck.nerim.net/jdelvare-2.6Linus Torvalds2007-12-12
|\ \
| * | i2c/isp1301_omap: Build fixDavid Brownell2007-12-12
| * | i2c: Add missing spaces in split log messagesJoe Perches2007-12-12
| * | i2c-gpio: Initialize adapter classAtsushi Nemoto2007-12-12
| * | i2c: Delete an outdated piece of documentationJean Delvare2007-12-12
| |/
* / V4L/DVB (6609): Re-adds lock safe videobuf_read_startMauro Carvalho Chehab2007-12-12
|/
* Revert "make bnx2x select ZLIB_INFLATE"Linus Torvalds2007-12-11
* V4L/DVB (6797): bt8xx/ section fixesAdrian Bunk2007-12-11
* V4L/DVB (6796): ivtv/ section fixAdrian Bunk2007-12-11
* V4L/DVB (6794): Fix compilation when dib3000mc is compiled as a moduleMauro Carvalho Chehab2007-12-11
* V4L/DVB (6733): DVB: Compile 3000MC-specific DIB code only for CONFIG_DVB_DIB...Jiri Kosina2007-12-11
* V4L/DVB (6750): Fix in-kernel compilation for cxusbMauro Carvalho Chehab2007-12-11
* V4L/DVB (6746): saa7134-dvb: fix tuning for WinTV HVR-1110Benoit Istin2007-12-11
* V4L/DVB (6751): V4L: Memory leak! Fix count in videobuf-vmalloc mmapBrandon Philips2007-12-11
* V4L/DVB (6690): saa7134: fix ignored interruptsHeikki Lindholm2007-12-11
* V4L/DVB (6686): saa7134: fix composite over s-video input on the Tevion MD 9717Hermann Pitton2007-12-11
* V4L/DVB (6684): Complement va_start() with va_end() + style fixesRichard Knutsson2007-12-11
* V4L/DVB (6666): saa7134-alsa: fix period handlingHeikki Lindholm2007-12-11
* V4L/DVB (6629): zl10353: fix default adc_clock and TRL nominal rate calculationChris Pascoe2007-12-11
* V4L/DVB (6615): V4L: Fix VIDIOCGMBUF locking in saa7146Brandon Philips2007-12-11
* V4L/DVB (6602): V4L: Convert videobuf drivers to videobuf_stopBrandon Philips2007-12-11
* V4L/DVB (6601): V4L: videobuf-core locking fixes and commentsBrandon Philips2007-12-11
* V4L/DVB (6581): Fix: avoids negative vma usage countMauro Carvalho Chehab2007-12-11
* V4L/DVB (6579): Fix bug #8824: Correct support for Diseqc on tda10086Hartmut Hackmann2007-12-11
* V4L/DVB (6542): Fix S-video mode on tvp5150Mauro Carvalho Chehab2007-12-11
* V4L/DVB (6540): em28xx: fix failing autodetection after the rebootSascha Sommer2007-12-11
* V4L/DVB (6485): ivtv: fix compile warningHans Verkuil2007-12-11
* [IPSEC]: Fix potential dst leak in xfrm_lookupHerbert Xu2007-12-11
* [VLAN]: Fix potential race in vlan_cleanup_module vs vlan_ioctl_handler.Pavel Emelyanov2007-12-11
* [NET]: Fix wrong comments for unregister_net*Wang Chen2007-12-11
* [BNX2]: Update version to 1.6.9.Michael Chan2007-12-11
* [BNX2]: Fix RX packet rot.Michael Chan2007-12-11
* [BNX2]: Add PHY_DIS_EARLY_DAC workaround.Michael Chan2007-12-11
* [S390]: Fix use of skb after netif_rxJulia Lawall2007-12-11
* [XTENSA]: Fix use of skb after netif_rxJulia Lawall2007-12-11
* [UM]: Fix use of skb after netif_rxJulia Lawall2007-12-11
* [IPv6] ESP: Discard dummy packets introduced in rfc4303Thomas Graf2007-12-11
* [IPv4] ESP: Discard dummy packets introduced in rfc4303Thomas Graf2007-12-11
* [IPV4]: Swap the ifa allocation with the"ipv4_devconf_setall" callPavel Emelyanov2007-12-11
* [IPV6] XFRM: Fix auditing rt6i_flags; use RTF_xxx flags instead of RTCF_xxx.YOSHIFUJI Hideaki2007-12-11
* Linux 2.6.24-rc5v2.6.24-rc5Linus Torvalds2007-12-10
an> int (*set_power)(struct lcd_device *, int power); /* Get the current contrast setting (0-max_contrast) */ int (*get_contrast)(struct lcd_device *); /* Set LCD panel contrast */ int (*set_contrast)(struct lcd_device *, int contrast); /* Check if given framebuffer device is the one LCD is bound to; return 0 if not, !=0 if it is. If NULL, lcd always matches the fb. */ int (*check_fb)(struct fb_info *); }; struct lcd_device { struct lcd_properties props; /* This protects the 'ops' field. If 'ops' is NULL, the driver that registered this device has been unloaded, and if class_get_devdata() points to something in the body of that driver, it is also invalid. */ struct mutex ops_lock; /* If this is NULL, the backing module is unloaded */ struct lcd_ops *ops; /* Serialise access to set_power method */ struct mutex update_lock; /* The framebuffer notifier block */ struct notifier_block fb_notif; struct device dev; }; static inline void lcd_set_power(struct lcd_device *ld, int power) { mutex_lock(&ld->update_lock); if (ld->ops && ld->ops->set_power) ld->ops->set_power(ld, power); mutex_unlock(&ld->update_lock); } extern struct lcd_device *lcd_device_register(const char *name, struct device *parent, void *devdata, struct lcd_ops *ops); extern void lcd_device_unregister(struct lcd_device *ld); #define to_lcd_device(obj) container_of(obj, struct lcd_device, dev) static inline void * lcd_get_data(struct lcd_device *ld_dev) { return dev_get_drvdata(&ld_dev->dev); } #endif