Rev 6936 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6936 | Rev 7143 | ||
---|---|---|---|
Line 217... | Line 217... | ||
217 | */ |
217 | */ |
218 | bool atomic; |
218 | bool atomic; |
219 | }; |
219 | }; |
Line 220... | Line 220... | ||
220 | 220 | ||
- | 221 | #ifdef CONFIG_DRM_FBDEV_EMULATION |
|
221 | #ifdef CONFIG_DRM_FBDEV_EMULATION |
222 | int drm_fb_helper_modinit(void); |
222 | void drm_fb_helper_prepare(struct drm_device *dev, struct drm_fb_helper *helper, |
223 | void drm_fb_helper_prepare(struct drm_device *dev, struct drm_fb_helper *helper, |
223 | const struct drm_fb_helper_funcs *funcs); |
224 | const struct drm_fb_helper_funcs *funcs); |
224 | int drm_fb_helper_init(struct drm_device *dev, |
225 | int drm_fb_helper_init(struct drm_device *dev, |
225 | struct drm_fb_helper *helper, int crtc_count, |
226 | struct drm_fb_helper *helper, int crtc_count, |
Line 281... | Line 282... | ||
281 | 282 | ||
282 | int drm_fb_helper_add_one_connector(struct drm_fb_helper *fb_helper, struct drm_connector *connector); |
283 | int drm_fb_helper_add_one_connector(struct drm_fb_helper *fb_helper, struct drm_connector *connector); |
283 | int drm_fb_helper_remove_one_connector(struct drm_fb_helper *fb_helper, |
284 | int drm_fb_helper_remove_one_connector(struct drm_fb_helper *fb_helper, |
284 | struct drm_connector *connector); |
285 | struct drm_connector *connector); |
- | 286 | #else |
|
- | 287 | static inline int drm_fb_helper_modinit(void) |
|
- | 288 | { |
|
- | 289 | return 0; |
|
- | 290 | } |
|
285 | #else |
291 | |
286 | static inline void drm_fb_helper_prepare(struct drm_device *dev, |
292 | static inline void drm_fb_helper_prepare(struct drm_device *dev, |
287 | struct drm_fb_helper *helper, |
293 | struct drm_fb_helper *helper, |
288 | const struct drm_fb_helper_funcs *funcs) |
294 | const struct drm_fb_helper_funcs *funcs) |
289 | { |
295 | { |